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