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 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.

Also could go into the kvm package instead.  Probably shouldn't be done
generally in pm-utils (the mantra of fix the real problem, don't add
more bodges around it ;-)

> * Is it safe to rmmod kvm and kvm_x before suspend?

Relatively.  Although I vaguely remember having it cause an interesting
problem once or twice, but not reproducibly enough to actually figure
out what was going on.

> * Is there any work on adding suspend and resume hooks into the kvm
> driver to support suspend?

The bigger thing is there's a need to add some hooks so that kvm can do
things at the right point in the suspend sequence.  Avi has patches, but
they missed the .22 merge window.  I need to sit down (maybe today) and
refresh the Fedora kvm patch; I was thinking of pushing those changes in
at the same time so that this can go away.  And if that pans out for a
little bit in rawhide, it could easily go out as an F7 update.

Jeremy


-------------------------------------------------------------------------
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