]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: snapshot: Save persistent domain config when taking external snapshot
authorPeter Krempa <pkrempa@redhat.com>
Mon, 30 Jun 2014 11:44:26 +0000 (13:44 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 30 Jun 2014 13:14:07 +0000 (15:14 +0200)
commit9036b31aeddb63db198576b8eaba331df105c0c6
tree0b54bfb56e14b652da463520c0df6e3331253858
parentb963ca06d4b99e8db71c85b8800aae3c99de6bcb
qemu: snapshot: Save persistent domain config when taking external snapshot

Commit 55bbb011b965c7962933604c70f61cef45e8ec04 introduced a regression
where we forgot to save the persistent domain configuration after an
external snapshot. This would make libvirt forget the snapshots and
effectively revert to the previous state in the following scenario:

1) Start VM
2) Take snapshot
3) Destroy VM
4) Restart libvirtd

Also fix spurious blank line added by patch mentioned above.
src/qemu/qemu_driver.c