[PATCH 30/31] qemu: driver: Use 'format' nodename accessors for disk resize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux