]> xenbits.xensource.com Git - libvirt.git/commit
qemu: snapshot: Initialize data for inactive config of snapshot earlier
authorPeter Krempa <pkrempa@redhat.com>
Mon, 22 Jul 2019 16:40:25 +0000 (18:40 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 25 Jul 2019 11:21:32 +0000 (13:21 +0200)
commit22a9f0857217594629e87824a3d174fbb17df7aa
treeee0dbe0a5dfdca34ff34c85c68c682fe06c52d7c
parent47a12f275263afb05015cc1884ffa69e56833810
qemu: snapshot: Initialize data for inactive config of snapshot earlier

qemuDomainSnapshotDiskDataCollect copies the source of the disk from the
live config into the inactive config. Move this operation earlier so
that if we initialize it for use for the particular instance the
run-time-only data is not copied.

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