wido commented on a change in pull request #2983: KVM live storage migration
intra cluster from NFS source and destination
URL: https://github.com/apache/cloudstack/pull/2983#discussion_r229227969
##########
File path:
plugins/hypervisors/kvm/src/main/java/org/apache/cloudstack/utils/qemu/QemuImg.java
##########
@@ -30,8 +31,13 @@
/* The qemu-img binary. We expect this to be in $PATH */
public String _qemuImgPath = "qemu-img";
+ private String cloudQemuImgPath = "cloud-qemu-img";
private int timeout;
+ private String getQemuImgPathScript = String.format("which %s >&
/dev/null; " +
+ "if [ $? -gt 0 ]; then echo \"%s\"; else echo \"%s\"; fi",
+ cloudQemuImgPath, _qemuImgPath, cloudQemuImgPath);
Review comment:
We have a Qemu utility in the KVM code, can't we offload this there?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services