[libvirt] libvirt qcow2 internal snapshot without vm state

Hi! I'm try to grep sources, but can't understand, how libvirt create internal snapshot in the same qcow2 file without memory state? As i understand libvirt via qmp/hmp runs savevm command via qemu. But i don't understand how libvirt skips memory state in this case? -- Vasiliy Tolstov, e-mail: v.tolstov@selfip.ru

On Tue, Dec 15, 2015 at 01:09:46 +0300, Vasiliy Tolstov wrote:
Hi! I'm try to grep sources, but can't understand, how libvirt create internal snapshot in the same qcow2 file without memory state? As i understand libvirt via qmp/hmp runs savevm command via qemu. But i don't understand how libvirt skips memory state in this case?
You could possibly do that with 'blockdev-snapshot-internal-sync', but libvirt doesn't support that yet. Internal snapshots are always with memory state if the VM is online at the time the snapshot is taken. Peter

2015-12-15 10:21 GMT+03:00 Peter Krempa <pkrempa@redhat.com>:
You could possibly do that with 'blockdev-snapshot-internal-sync', but libvirt doesn't support that yet. Internal snapshots are always with memory state if the VM is online at the time the snapshot is taken.
Thanks! May be this is question on wrong list, but do you know - does it possible to run qemu with -loadvm xxx param with disk only snapshot? Does it try to boot kernel like normal boot? -- Vasiliy Tolstov, e-mail: v.tolstov@selfip.ru
participants (2)
-
Peter Krempa
-
Vasiliy Tolstov