qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] -loadvm and disk only snapshot


From: Eric Blake
Subject: Re: [Qemu-devel] -loadvm and disk only snapshot
Date: Wed, 16 Dec 2015 09:19:24 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

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: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]