]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Move armv7l-on-aarch64 special case
authorAndrea Bolognani <abologna@redhat.com>
Tue, 18 Sep 2018 14:27:42 +0000 (16:27 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 21 Sep 2018 13:53:45 +0000 (15:53 +0200)
commit0d131d3893e912e6071b8862e9fd3ac489452076
treef02bfe0dc0461ca5d5723b437195cec064d3bf2b
parentb37b41f86829246f28c16ac7e76889c2c918f0eb
qemu: Move armv7l-on-aarch64 special case

When running an armv7l guest on an aarch64 hosts, the
qemu-system-aarch64 binary should be our first choice instead
of qemu-system-arm since the former can take advantage of KVM
acceleration.

Move the special case to virQEMUCapsFindBinaryForArch() so
that it's handled along with all other cases rather than on
its own later on.

Doing so will also make further refactoring easier.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
src/qemu/qemu_capabilities.c