From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Suspending with kvm and kvm_loaded Date: Sun, 17 Jun 2007 11:10:41 +0300 Message-ID: <4674EC81.3080203@qumranet.com> References: <1181912175.4819.15.camel@work> <4673970B.3070509@qumranet.com> <1181989774.2309.0.camel@work> <20070616123025.GO4299@rhun.haifa.ibm.com> <1182014428.2309.10.camel@work> <4674DC6F.4020108@qumranet.com> <1182069247.2324.6.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: <1182069247.2324.6.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: > 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 virtual machines before the machine is suspended (if any > are running). > 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. 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. > Does anybod know why libvirt does not detect my running qemu VM (that > uses KVM acceleration)? I get: > > Failed to connect to hypervisor > > If you start a virtual machine outside libvirt's knowledge, it won't pick it up. You also need to enable the libvirtd service (or however it is called). -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- 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/