Re: [libvirt] [PATCH] Support kvm-img or qemu-img dynamically

2009-06-10 Thread Daniel P. Berrange
On Mon, Jun 08, 2009 at 02:33:04PM -0500, Doug Goldstein wrote: > This patch adds a new function virFindFileInPath() and uses it to find > where a binary lives in the PATH environment variable. Using this, we > can dynamically find where utility functions exist (and if they even > exists). So such

[libvirt] [PATCH] Support kvm-img or qemu-img dynamically

2009-06-08 Thread Doug Goldstein
This patch adds a new function virFindFileInPath() and uses it to find where a binary lives in the PATH environment variable. Using this, we can dynamically find where utility functions exist (and if they even exists). So such we remove the build-time check for qemu-img and make it dynamic for kvm-