Skip to content

Commit 4c74326

Browse files
committed
Readd filename string on qemuimg create
1 parent 399b023 commit 4c74326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ private KVMPhysicalDisk createPhysicalDiskByQemuImg(String name, KVMStoragePool
10331033
volPath = pool.getSourceDir() + "/" + name;
10341034
destFile = new QemuImgFile(KVMPhysicalDisk.RBDStringBuilder(pool, volPath));
10351035
} else {
1036-
volPath = pool.getLocalPath();
1036+
volPath = pool.getLocalPath() + "/" + name;
10371037
destFile = new QemuImgFile(volPath);
10381038
}
10391039

0 commit comments

Comments
 (0)