From: Eric Blake <eblake@redhat.com>
To: Vasiliy Tolstov <v.tolstov@selfip.ru>,
qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] -loadvm and disk only snapshot
Date: Wed, 16 Dec 2015 09:19:24 -0700 [thread overview]
Message-ID: <56718F0C.5070809@redhat.com> (raw)
In-Reply-To: <CACaajQtSs0oMfm2OuYiLYgctqRyNoWDGoms8CHLCn4M19-Yqtg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 845 bytes --]
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.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
next prev parent reply other threads:[~2015-12-16 16:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-16 12:12 [Qemu-devel] -loadvm and disk only snapshot Vasiliy Tolstov
2015-12-16 16:19 ` Eric Blake [this message]
2015-12-16 17:25 ` Vasiliy Tolstov
2015-12-16 17:35 ` Eric Blake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56718F0C.5070809@redhat.com \
--to=eblake@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=v.tolstov@selfip.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.