From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH] build: use correct qemu path in systemd service file and init script Date: Tue, 21 Jul 2015 16:10:57 +0100 Message-ID: <1437491457.8383.57.camel@citrix.com> References: <1437063357-24290-1-git-send-email-lantw44@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1437063357-24290-1-git-send-email-lantw44@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ting-Wei Lan , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, 2015-07-17 at 00:15 +0800, Ting-Wei Lan wrote: This all looks pretty good. One comment: > +if test "x$qemu_xen_path" = "x" || test "x$qemu_xen_path" = "xqemu"; > then : > + > + qemu_xen_path_service="$LIBEXEC_BIN/qemu-system-i386" It's a shame we have to repeat the "qemu-system-i386" here and in libxl_dm.c. I think rather than adding a new qemu_xen_path_service we should just make the existing $qemu_xen_path default to the full $LIBEXEC_BIN/qemu -system-i386 and have it substituted everywhere much like you've done here. Then libxl_dm.c:qemu_xen_path() can return QEMU_XEN_PATH always. What do you think? Ian.