mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
qemuDomainSnapshotDiskPrepareOne: Don't load the relative path with blockdev
Since we are refreshing the relative paths when doing the blockjobs we no longer need to load them upfront when doing the snapshot. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
ffc6249c79
commit
2ace7a87a8
@ -15167,8 +15167,9 @@ qemuDomainSnapshotDiskPrepareOne(virQEMUDriverPtr driver,
|
||||
dd->initialized = true;
|
||||
|
||||
/* relative backing store paths need to be updated so that relative
|
||||
* block commit still works */
|
||||
if (reuse) {
|
||||
* block commit still works. With blockdev we must update it when doing
|
||||
* commit anyways so it's skipped here */
|
||||
if (reuse && !blockdev) {
|
||||
if (supportsBacking) {
|
||||
g_autofree char *backingStoreStr = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user