Skip to content

Commit efea579

Browse files
committed
Convert snapshot command timeout from seconds to millisecconds for QemuImg
1 parent c267ad3 commit efea579

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);
2064+
QemuImg q = new QemuImg(wait * 1000);
20652065
q.convert(srcFile, destFile, options, qemuObjects, qemuImageOpts, null, true);
20662066
}
20672067

0 commit comments

Comments
 (0)