From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9Ene-0005Hj-JZ for qemu-devel@nongnu.org; Wed, 16 Dec 2015 11:19:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9Ena-0005cD-8j for qemu-devel@nongnu.org; Wed, 16 Dec 2015 11:19:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9Ena-0005c7-2O for qemu-devel@nongnu.org; Wed, 16 Dec 2015 11:19:30 -0500 References: From: Eric Blake Message-ID: <56718F0C.5070809@redhat.com> Date: Wed, 16 Dec 2015 09:19:24 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ljcAInWuxPqpHTS8kI1hkblW2m0ULlqKW" Subject: Re: [Qemu-devel] -loadvm and disk only snapshot List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vasiliy Tolstov , qemu-devel This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ljcAInWuxPqpHTS8kI1hkblW2m0ULlqKW Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12/16/2015 05:12 AM, Vasiliy Tolstov wrote: > Hi. I'm try to find some info how to run qemu vm from snapshot, but > all pages contains info about running vm from full vm snapshot with > memory state. > What happening when i'm run qemu with -loadvm from disk only snapshot > (created byblockdev-snapshot-internal-sync)? Won't work (qemu is not able to load disk snapshots without memory). What libvirt does instead is to use qemu-img snapshot -c to change the snapshot back to the active layer, then boot qemu fresh on the correct contents. Of course, patches to change behavior aren't out of the question, but there's already a lot of cruft there to be aware of, and making sure we don't regress libvirt behavior. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --ljcAInWuxPqpHTS8kI1hkblW2m0ULlqKW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWcY8MAAoJEKeha0olJ0Nq7I8H/ArZg2eAfK8GDabaOPxQkEWB /keh+DonjW6HvexyzP753v+/8hGwrSlr4iGaSYmGw8d8gGnbJxwyOoFhTfpxFOeB ZuUUdo9MzIDjWdaSSeujtVg81Kk0B5WC/ukGq2FHz3x5BvL0deymSah09L+ALQym YTRcZ9GJDE7VDJeiq7dajgjRD29sntHU1JJWWoC56DX8TGmoGYrhPSnzPIrNvxTO NRCok+C2iLYuDPLYdDyMQzbgzEIxIJTUHP6QR0vmorEXP9AtSYg810yN0MD2FDcl e91c0eJL3Ag1kT4K1Coz0ok9ZWXpzW5dZAh9LMkQR11mxZtjBdEyLyrsGkG4LfU= =s6SC -----END PGP SIGNATURE----- --ljcAInWuxPqpHTS8kI1hkblW2m0ULlqKW--