From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TihiQ-0007I8-PN for qemu-devel@nongnu.org; Wed, 12 Dec 2012 03:31:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TihiK-00065M-Sf for qemu-devel@nongnu.org; Wed, 12 Dec 2012 03:30:54 -0500 Received: from mx4-phx2.redhat.com ([209.132.183.25]:53460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TihiK-00065G-Ix for qemu-devel@nongnu.org; Wed, 12 Dec 2012 03:30:48 -0500 Date: Wed, 12 Dec 2012 03:30:38 -0500 (EST) From: Paolo Bonzini Message-ID: <1755108635.21844346.1355301038964.JavaMail.root@redhat.com> In-Reply-To: <24E144B8C0207547AD09C467A8259F7557871C7B@lisa.maurer-it.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH 0/2] live backup vm List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dietmar Maurer Cc: kwolf@redhat.com, aliguori@us.ibm.com, stefanha@gmail.com, qemu-devel@nongnu.org, blauwirbel@gmail.com, Wenchao Xia > So our snapshot implementation uses the following steps: > > 1.) qmp: savevm-start [statefile] > > This save the VM state into [statefile] and then stops the VM. That's migrate exec:cat>statefile (or similar) > 2.) qga freezefs How can freezefs run while the VM is stopped? > 3.) create snapshots: either using external tools or by qmp: > snapshot-drive > > 4.) gqa unfreezefs Same as above, this should be done after step (5). > 5.) qmp: savevm-end > > This restarts/resumes the VM That's simply "cont". Paolo