[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST RFC 16/16] Osstest/TestSupport: Handle qemu-img location on CentOS
Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> --- Osstest/TestSupport.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 40a5c5a..c82ba96 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -1949,8 +1949,8 @@ sub make_qcow2 ($$$) { my ($ho, $gho, $disk_mb) = @_; # upstream qemu's version. Seems preferable to qemu-xen-img from qemu-trad. my $qemu_img; - foreach (qw(/usr/local /usr)) { - my $try = "$_/lib/xen/bin/qemu-img"; + foreach (qw(/usr/local/lib /usr/lib /usr/lib64)) { + my $try = "$_/xen/bin/qemu-img"; if (target_file_exists($ho, $try)) { $qemu_img=$try; last; -- Anthony PERARD _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |