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 > > -- > ~_~ From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwWil-0006wO-Ur for qemu-devel@nongnu.org; Tue, 30 Mar 2010 04:22:47 -0400 Received: from [140.186.70.92] (port=36834 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwWij-0006sM-Cj for qemu-devel@nongnu.org; Tue, 30 Mar 2010 04:22:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NwWiZ-0004NF-4F for qemu-devel@nongnu.org; Tue, 30 Mar 2010 04:22:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:65469) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwWiY-0004Ms-P0 for qemu-devel@nongnu.org; Tue, 30 Mar 2010 04:22:35 -0400 From: Juan Quintela In-Reply-To: (Wenhao Xu's message of "Mon, 29 Mar 2010 22:59:55 -0700") References: Date: Tue, 30 Mar 2010 10:22:25 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Re: [questions] savevm|loadvm List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wenhao Xu Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org Wenhao Xu wrote: > Hi, all, > =BF=EF=BD I am working with switching QEMU from running in KVM mode to = QEMU > emulatoin mode dynamically. > =BF=EF=BD Intuitively, if the snapshot created using savevm in kvm mode= can be > used by the loadvm command in QEMU emulator mode, the switchment could > makes use of this.=BF I tried to do so. However, it does not work.=BF A= ny 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 means 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 > > -- > ~_~