From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v2] build: use correct qemu path in systemd service file and init script Date: Thu, 30 Jul 2015 16:01:21 +0100 Message-ID: <1438268481.11600.370.camel@citrix.com> References: <1437983963.28924.19.camel@citrix.com> <1438239070-19525-1-git-send-email-lantw44@gmail.com> <1438251887.11600.288.camel@citrix.com> <20150730103026.GE26074@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150730103026.GE26074@zion.uk.xensource.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: Wei Liu Cc: Keir Fraser , Stefano Stabellini , Ting-Wei Lan , Tim Deegan , Ian Jackson , xen-devel@lists.xen.org, Jan Beulich , Andrew Cooper , Anthony Perard List-Id: xen-devel@lists.xenproject.org On Thu, 2015-07-30 at 11:30 +0100, Wei Liu wrote: > On Thu, Jul 30, 2015 at 11:24:47AM +0100, Ian Campbell wrote: > > On Thu, 2015-07-30 at 14:51 +0800, Ting-Wei Lan wrote: > > > When --with-system-qemu is used, it is possible that we cannot find > > > qemu-system-i386 in LIBEXEC_BIN, which can cause error in xencommons > > > init script and xen-qemu-dom0-disk-backend.service systemd service. > > > > > > Signed-off-by: Ting-Wei Lan > > > > Personally I would have omitted the distinction between @qemu_xen_path@ > > and > > @qemu_xen_systemd@ and just put the env invocation in the service file > > as > > "/usr/bin/env @qemu_xen_path@" but I suppose that is just bike > > shedding, > > so: > > > > Acked-by: Ian Campbell > > > > Wei Lui, what do you think about this for 4.6? It fixes a real issue > > where > > --with-system-qemu is used without an explicit path, which is supposed > > to > > search for "qemu" in $PATH but fails to do so for the initscripts and > > unit > > files, where it uses the old hardcoded default value instead, which > > probably doesn't exist if you are using this option (and if it did > > isn't > > the thing the user asked for). > > > > The fix looks pretty straight forward to me. > > > > I agree with you. It should be applied for 4.6. Thanks, applied. Ting-Wei: I got a reject in xencommons.in because your tree apparently lacks 8e986e5a61ef from May. Please check I've resolved it correctly, and please use a more up to date baseline for future patches. Thanks, Ian.