From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SbXt1-0005qv-7z for qemu-devel@nongnu.org; Mon, 04 Jun 2012 10:04:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SbXsz-0004P3-86 for qemu-devel@nongnu.org; Mon, 04 Jun 2012 10:03:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:25080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SbXsy-0004ON-Vz for qemu-devel@nongnu.org; Mon, 04 Jun 2012 10:03:57 -0400 Message-ID: <4FCCC047.406@redhat.com> Date: Mon, 04 Jun 2012 08:03:51 -0600 From: Eric Blake MIME-Version: 1.0 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig4D29EDED8E9135D9CDE739CF" Subject: Re: [Qemu-devel] how can i take a snapshot for running system List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?5Ya36Zuo?= Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4D29EDED8E9135D9CDE739CF Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/01/2012 10:46 PM, =E5=86=B7=E9=9B=A8 wrote: > i want take a snap for running system,how do i? > now i can use qemu-img.exe to take a snapshot. > and it not save the running memeory info. >=20 Use the 'savevm' monitor command, if you are using qcow2 disk images. It might also be possible to use 'migrate' to migrate running memory info to a file in the background, and then when that completes use 'blockdev-snapshot-sync', as a way of cobbling together a complete snapshot even if you don't use qcow2 disk images. If you are using libvirt, then libvirt has wrapped these actions under its virDomainSnapshotCreateXML API. --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig4D29EDED8E9135D9CDE739CF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJPzMBHAAoJEKeha0olJ0NqaRUH/38Vg0vEbHbu70hhiP4w8Gvf WGvSbdy/LlWawKBn0J2veh24OVzaZgXOurmWXyKpGcAqNxBcHDanSN6+YnfMPkC7 KH43SjTfXAL/DwE73rFPPPKZTF6cDntA9NSMqsG+o7CaPZlC9qowZMA2ImzfLGzH bwz/aEinA4uKE866IAfdMbgzMTApzbKOA/yPrfyh0v4UfUaAHja1bleKq+9afMjc dOgn4ry/+S6TY5pKRnGvzMMDIPqjSqf61c11/uIkcgRSiJeHnBWw9EHKXqkUThxd oyi3IXBVb1+2Ostosix95PeKg0PZAuodFg6I95zQL+Cbcno+mpNbrdf3EFBqChk= =svxt -----END PGP SIGNATURE----- --------------enig4D29EDED8E9135D9CDE739CF--