qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Disabling KVM "on the fly"
@ 2012-10-17 16:37 Clemens Kolbitsch
  2012-10-17 16:44 ` Paolo Bonzini
  0 siblings, 1 reply; 6+ messages in thread
From: Clemens Kolbitsch @ 2012-10-17 16:37 UTC (permalink / raw)
  To: qemu-devel

Guys,

I know this is question might seem a bit odd, but I'm curious:

Has anyone ever tried to write code to disable KVM on the fly / is it
at all possible? I have a situation where I need to use TCG for
certain parts of the code, but would love to have acceleration for
everything else. My idea was to pause the VM, then use the
snapshotting mechanism to dump the state, and then to resume the
snapshot, but writing the KVM state into the non-KVM structures.

I know nothing of that sort is implemented at this point. Leaving
aside the issue of certain CPUID instructions suddenly returning
different results, are there obvious problems even trying to go down
that road?

Would love to hear some thoughts on this - don't hesitate to tell me
"that's stupid and impossible because XYZ" (assuming you also fill in
the blanks ;) )

Thanks!
Clemens

-- 
Clemens Kolbitsch
Security Researcher
kolbitsch@lastline.com
+1 (206) 356-7745

Lastline, Inc.
6950 Hollister Avenue, Suite 101
Goleta, CA 93117

www.lastline.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-18 17:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-17 16:37 [Qemu-devel] Disabling KVM "on the fly" Clemens Kolbitsch
2012-10-17 16:44 ` Paolo Bonzini
2012-10-17 18:37   ` Jan Kiszka
2012-10-18  6:29     ` Paolo Bonzini
2012-10-18 17:24       ` Jan Kiszka
2012-10-18 17:38         ` Clemens Kolbitsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).