[libvirt] [PATCH 08/11] qemu: Simplify QEMU binary search

Andrea Bolognani abologna at redhat.com
Fri Oct 5 15:18:44 UTC 2018


On Fri, 2018-10-05 at 16:43 +0200, Ján Tomko wrote:
> On Thu, Sep 20, 2018 at 05:25:26PM +0200, Andrea Bolognani wrote:
> > @@ -756,6 +755,13 @@ virQEMUCapsInitGuest(virCapsPtr caps,
> >      */
> >     binary = virQEMUCapsFindBinaryForArch(hostarch, guestarch);
> > 
> > +    /* RHEL doesn't follow the usual naming for QEMU binaries and ships
> > +     * a single binary named qemu-kvm outside of $PATH instead */
> 
> This does not look like something upstream libvirt should worry about.

I would be simple enough to turn this into a downstream-only patch;
however, by doing so we would lose the ability to run unchanged
upstream libvirt on top of RHEL, so I think it's preferable to
leave it alone.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list