aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author <stefano.stabellini@eu.citrix.com>2012-01-24 15:09:31 +0000
committer <stefano.stabellini@eu.citrix.com>2012-01-24 15:09:31 +0000
commit4e03da93ad676ba75173d3b2438cc0c0e1178641 (patch)
tree35370c0627df6cf4f0df4ea6263e680d8fa97384
parent14ee3c05f3ef7d1d2580043392c500be2fc7cbfe (diff)
downloadxen-4e03da93ad676ba75173d3b2438cc0c0e1178641.tar.gz
xen-4e03da93ad676ba75173d3b2438cc0c0e1178641.tar.bz2
xen-4e03da93ad676ba75173d3b2438cc0c0e1178641.zip
libxl: use new qemu at the location where xen-unstable installs it
From: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com>
-rw-r--r--tools/libxl/libxl_dm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c
index 39526d240a..3d45cd3978 100644
--- a/tools/libxl/libxl_dm.c
+++ b/tools/libxl/libxl_dm.c
@@ -50,7 +50,7 @@ const char *libxl__domain_device_model(libxl__gc *gc,
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,