Skip to content

Commit 6dc2f8e

Browse files
committed
Adjust convertion
1 parent 8997913 commit 6dc2f8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2061,7 +2061,7 @@ private void convertTheBaseFileToSnapshot(KVMPhysicalDisk baseFile, String snaps
20612061
QemuImgFile destFile = new QemuImgFile(snapshotPath);
20622062
destFile.setFormat(PhysicalDiskFormat.QCOW2);
20632063

2064-
QemuImg q = new QemuImg(wait * 1000);
2064+
QemuImg q = new QemuImg(wait * 1000L);
20652065
q.convert(srcFile, destFile, options, qemuObjects, qemuImageOpts, null, true);
20662066
}
20672067

0 commit comments

Comments
 (0)