WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [PATCH v5 3/4] Clone and build upstream Qemu by default

We should have this extra patch along with this change I guess....

(Ultimately it would awesome to stop shipping our own and use the
distro /usr/bin/qemu but I don't think we are there yet...)

# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1316610277 -3600
# Node ID 5a91beb838a7573f97bc06adb84c96d438ff655f
# Parent  466411f8a34da2bb4ef6edefcca87edfa1933d13
libxl: use new qemu at the location where xen-unstable installs it

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

diff -r 466411f8a34d -r 5a91beb838a7 tools/libxl/libxl_dm.c
--- a/tools/libxl/libxl_dm.c    Wed Sep 21 13:59:26 2011 +0100
+++ b/tools/libxl/libxl_dm.c    Wed Sep 21 14:04:37 2011 +0100
@@ -55,7 +55,7 @@ const char *libxl__domain_device_model(l
             dm = libxl__abs_path(gc, "qemu-dm", libxl_libexec_path());
             break;
         case LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN:
-            dm = libxl__strdup(gc, "/usr/bin/qemu");
+            dm = libxl__abs_path(gc, "qemu", libxl_libexec_path());
             break;
         default:
             LIBXL__LOG(ctx, LIBXL__LOG_ERROR,




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel