[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH OSSTEST] make_qcow2: Look for qemu-img under /usr as well as /usr/local



On Wed, 23 Sep 2015, Ian Campbell wrote:
> On Tue, 2015-09-22 at 22:36 +0100, Stefano Stabellini wrote:
> > On Tue, 22 Sep 2015, Ian Jackson wrote:
> > > (CCing Stefano)
> > > 
> > > Ian Campbell writes ("Re: [PATCH OSSTEST] make_qcow2: Look for qemu-img
> > > under /usr as well as /usr/local"):
> > > > 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 <ian.jackson@xxxxxxxxxxxxx>
> > > > > 
> > > > > 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.
> > > 
> > > Maybe we should be installing qemu-img from our qemu upstream build
> > > instead ?
> > > 
> > > We evidently don't think that there is anything in the qcow block
> > > system in trad that we like, because we are only using upstream for
> > > qdisk vbd backends now.
> > 
> > Yes, this is a good idea. Qcow support is much better in upstream QEMU
> > compared to qemu-trad.
> 
> So I think the plan of attack should be:
> 
> Make osstest use qemu-xen-img out of $PATH instead of hardcoding the full
> path to qemu-upstreams's qemu-img (which is in our $libexec). This will
> cause everything to switch to qemu-trad's version of qemu-xen.
> 
> Modify xen.git (and raisin?) to stop installing the qemu-trad version of
> qemu-img as qemu-xen-img in $PATH and instead start installing qemu
> -upstream's version with that name.
> 
> We also need to check that whatever libraries used by qemu-img are in an
> appropriate place, or that rpath is used.
> 
> Are they any other similar tools which we should consider doing this for?
> 
> Who is going to write those patches?

I volunteering to make the changes to install QEMU's qemu-img in Raisin

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.