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 Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list