[libvirt] [PATCH v3] qemu: Fix using guest architecture as lookup key

Andrea Bolognani abologna at redhat.com
Wed Sep 16 08:32:46 UTC 2015


On Wed, 2015-09-16 at 09:22 +0100, Daniel P. Berrange wrote:
> On Wed, Sep 16, 2015 at 09:13:09AM +0200, Andrea Bolognani wrote:
> > When looking for a QEMU binary suitable for running ppc64le guests
> > we have to take into account the fact that we use the QEMU target
> > as key for the hash, so direct comparison is not good enough.
> > 
> > Factor out the logic from virQEMUCapsFindBinaryForArch() to a new
> > virQEMUCapsFindTarget() function and use that both when looking
> > for QEMU binaries available on the system and when looking up
> > QEMU capabilities later.
> > 
> > Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1260753
> > ---
> >  src/qemu/qemu_capabilities.c | 105 +++++++++++++++++++++++++++++--
> > ------------
> >  1 file changed, 71 insertions(+), 34 deletions(-)
> 
> ACK

Pushed, thanks :)

-- 
Andrea Bolognani
Software Engineer - Virtualization Team




More information about the libvir-list mailing list