From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH OSSTEST] make_qcow2: Look for qemu-img under /usr as well as /usr/local Date: Tue, 22 Sep 2015 16:58:26 +0100 Message-ID: <1442937506.10338.188.camel@citrix.com> References: <1442590483-26187-1-git-send-email-ian.campbell@citrix.com> <22017.30403.151751.636356@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <22017.30403.151751.636356@mariner.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: Ian Jackson Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, 2015-09-22 at 16:41 +0100, Ian Jackson wrote: > Ian Campbell writes ("[PATCH OSSTEST] make_qcow2: Look for qemu-img under > /usr as well as /usr/local"): > > Older Xen's installed in /usr by default, so we need to check where > > qemu-img if we want these tests to work on those versions. > > Acked-by: Ian Jackson > > But, why are we executing a utility from /usr/lib/xen/bin ? If this > utility is useful to osstest it is presumably useful to users too, and > in that case it should be on PATH (under some suitable name). We install qemu-upstream under our own prefix, I think to avoid conficting with the users own qemu installations? qemu-img comes from there. We do install qemu-xen-img (from trad) into $PATH, but when I wrote this test I thought it preferable to use qemu-img. Ian.