From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juan Quintela Subject: Re: [questions] savevm|loadvm Date: Tue, 30 Mar 2010 10:22:25 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org To: Wenhao Xu Return-path: Received: from mx1.redhat.com ([209.132.183.28]:36255 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755616Ab0C3IWf (ORCPT ); Tue, 30 Mar 2010 04:22:35 -0400 In-Reply-To: (Wenhao Xu's message of "Mon, 29 Mar 2010 22:59:55 -0700") Sender: kvm-owner@vger.kernel.org List-ID: Wenhao Xu wrote: > Hi, all, > =BF=EF=BD I am working with switching QEMU from running in KVM mode t= o QEMU > emulatoin mode dynamically. > =BF=EF=BD Intuitively, if the snapshot created using savevm in kvm mo= de can be > used by the loadvm command in QEMU emulator mode, the switchment coul= d > makes use of this.=BF I tried to do so. However, it does not work.=BF= Any idea > how to fix it? > =BF=EF=BD=BF Thanks for the help. kvm uses a different memory layout (slots in qemu/kvm lingo), that mean= s that memory can't be migrated (that is a big problem). Once that is "fixed", you need to work on the several in-kernel chips that don't exist in qemu (kvm-irq-chip and the like). Once that is fixed, you can look for what more things are broken. Once here, why do you want to do that switch? Later, Juan. > regards, > Wenhao > > -- > ~_~