Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index b286d94ca1..43d96739d5 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -9252,7 +9252,7 @@ qemuDomainBlockResize(virDomainPtr dom,
}
if (!qemuDiskBusIsSD(disk->bus)) {
- nodename = disk->src->nodeformat;
+ nodename = qemuBlockStorageSourceGetEffectiveNodename(disk->src);
} else {
if (!(device = qemuAliasDiskDriveFromDisk(disk)))
goto endjob;
--
2.41.0