]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Fix virQEMUCapsFindTarget on ppc64le
authorJiri Denemark <jdenemar@redhat.com>
Tue, 13 Dec 2016 15:58:41 +0000 (16:58 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 13 Dec 2016 21:11:33 +0000 (22:11 +0100)
commitf00c00475fba4bc876e549088ec971bdce28a38b
tree5c1951d7a6440a2bb1e6d5a573af85654268b91a
parent7ed89d7421f8a1af619ffa09644eb8837ac71212
qemu: Fix virQEMUCapsFindTarget on ppc64le

virQEMUCapsFindTarget is supposed to find an alternative QEMU binary if
qemu-system-$GUEST_ARCH doesn't exist. The alternative is using host
architecture when it is compatible with $GUEST_ARCH. But a special
treatment has to be applied for ppc64le since the QEMU binary is always
called qemu-system-ppc64.

Broken by me in v2.2.0-171-gf2e71550d.

https://bugzilla.redhat.com/show_bug.cgi?id=1403745

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_capabilities.c