提交 2ace7a87 编写于 作者: P Peter Krempa

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: NPeter Krempa <pkrempa@redhat.com>
Reviewed-by: NJán Tomko <jtomko@redhat.com>
上级 ffc6249c
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册