[kvm-devel] Suspending with kvm and kvm_loaded

2007-06-15 Thread Richard Hughes
ing suspend and resume hooks into the kvm driver to support suspend? * Do you guys know why the kvm module might be stopping suspend? Thanks for any pointers, Richard Hughes. - This SF.net email is sponsored by DB2 Expre

Re: [kvm-devel] Suspending with kvm and kvm_loaded

2007-06-15 Thread Richard Hughes
On Fri, 2007-06-15 at 09:27 -0400, Jeremy Katz wrote: > On Fri, 2007-06-15 at 13:56 +0100, Richard Hughes wrote: > > I'm getting lots of bug reports about installing kvm and then suspend > > breaking. Some background: when the fedora package kvm is installed, > > then t

Re: [kvm-devel] Suspending with kvm and kvm_loaded

2007-06-16 Thread Richard Hughes
On Sat, 2007-06-16 at 10:53 +0300, Avi Kivity wrote: > Richard Hughes wrote: > > Hi, > > > > I'm getting lots of bug reports about installing kvm and then suspend > > breaking. Some background: when the fedora package kvm is installed, > > then the kvm and k

Re: [kvm-devel] Suspending with kvm and kvm_loaded

2007-06-16 Thread Richard Hughes
On Sat, 2007-06-16 at 15:30 +0300, Muli Ben-Yehuda wrote: > > > Is there any easy way we can detect if virtual machines are running? > > The module use counts will be elevanted and they'll refuse to unload > (or there's a nasty bug somewhere). Nahh, that's too brutal. Is there a way to (hypothet

Re: [kvm-devel] Suspending with kvm and kvm_loaded

2007-06-17 Thread Richard Hughes
On Sun, 2007-06-17 at 10:02 +0300, Avi Kivity wrote: > > "Are you sure you want to suspend your computer with a running > virtual > > machine?" > > > > Why invest in workarounds when a fix is available? Totally agree. I was really looking for a proper fix, e.g. use libvirt to suspend the virtu

Re: [kvm-devel] Suspending with kvm and kvm_loaded

2007-06-17 Thread Richard Hughes
On Sun, 2007-06-17 at 11:10 +0300, Avi Kivity wrote: > No no no. The proper fix will have suspend "just working", whether or > not a virtual machine is running or not. When you resume, the virtual > machines continue running as if nothing had happened. Ahh gotcha. In which case I apologize, I

Re: [kvm-devel] Suspending with kvm and kvm_loaded

2007-06-17 Thread Richard Hughes
On Sun, 2007-06-17 at 11:10 +0300, Avi Kivity wrote: > > I posted a patchset which does just that, when the F kernel > integrates > it (through inclusion of 2.6.23 or by patching the current kernel), > Fedora will be able to suspend/resume just fine. I've tried the current kvm kernel git tree

Re: [kvm-devel] Suspending with kvm and kvm_loaded

2007-06-19 Thread Richard Hughes
On Tue, 2007-06-19 at 08:33 -0400, Jeremy Katz wrote: > On Tue, 2007-06-19 at 11:05 +0300, Avi Kivity wrote: > > Richard Hughes wrote: > > > On Sun, 2007-06-17 at 11:10 +0300, Avi Kivity wrote: > > >> I posted a patchset which does just that, when the F kernel > &g