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 kvm_xxx modules get auto loaded at boot. To get the
> > machine to suspend again, the modules have to be rmmod'd on suspend and
> > then modprobe'd on resume.
> >
> > We can automate the rmmodding and modprobeing adding a simple script in
> > pm-utils (/etc/pm/sleep.d/) on package install, but to avoid just
> > bodging the issue I wanted to ask you guys first.
> >
> > * Is it safe to rmmod kvm and kvm_x before suspend?
> >   
> 
> Yes, although you can't do that if you have any virtual machines running.

Is there any easy way we can detect if virtual machines are running?

Richard.



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to