From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Suspending with kvm and kvm_loaded Date: Sat, 16 Jun 2007 10:53:47 +0300 Message-ID: <4673970B.3070509@qumranet.com> References: <1181912175.4819.15.camel@work> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, pcfe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org To: Richard Hughes Return-path: In-Reply-To: <1181912175.4819.15.camel@work> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org 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. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- 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/