From: Ian Campbell Subject: Re: [PATCH v5 3/4] Clone and build upstream Qemu by default Date: Wed, 21 Sep 2011 14:06:01 +0100 Message-ID: <1316610361.3891.181.camel@zakaz.uk.xensource.com> References: <1316598917-21515-3-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1316598917-21515-3-git-send-email-stefano.stabellini@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "stefano.stabellini@eu.citrix.com" Cc: Ian Jackson , "xen-devel@lists.xensource.com" , "keir@xen.org" List-Id: xen-devel@lists.xenproject.org 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 # 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 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,