]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: snapshot: Save status and config XMLs only on success
authorPeter Krempa <pkrempa@redhat.com>
Wed, 28 Aug 2019 07:31:28 +0000 (09:31 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 6 Sep 2019 06:12:21 +0000 (08:12 +0200)
commit93a0f72ef4f8fc380558e5ec786bed01b994fe34
tree5166b117d7da25f03e99405117a0ec10e4f65e6d
parente0720fda12d2e7d72277cc90e90e7497dd834b78
qemu: snapshot: Save status and config XMLs only on success

We changed to always saving the status and config XMLs to simplify
code. After a few more refactors it's now possible to move it to the
appropriate place and save the XMLs only on success again.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_driver.c