Skip to content

Commit 5f9ee75

Browse files
committed
Readd filename string on qemuimg create
1 parent bf9737c commit 5f9ee75

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
@@ -932,7 +932,7 @@ private KVMPhysicalDisk createPhysicalDiskByQemuImg(String name, KVMStoragePool
932932
volPath = pool.getSourceDir() + "/" + name;
933933
destFile = new QemuImgFile(KVMPhysicalDisk.RBDStringBuilder(pool, volPath));
934934
} else {
935-
volPath = pool.getLocalPath();
935+
volPath = pool.getLocalPath() + "/" + name;
936936
destFile = new QemuImgFile(volPath);
937937
}
938938

0 commit comments

Comments
 (0)