qemu: caps: qemu-system-aarch64 supports armv7l

And it always has, so advertise it similarly to i686
This commit is contained in:
Cole Robinson 2015-05-21 18:06:09 -04:00
parent 29ce1693fa
commit 667370d67e

View File

@ -697,6 +697,14 @@ virQEMUCapsFindBinaryForArch(virArch hostarch,
if (ret && !virFileIsExecutable(ret))
VIR_FREE(ret);
if (guestarch == VIR_ARCH_ARMV7L &&
!ret &&
hostarch == VIR_ARCH_AARCH64) {
ret = virFindFileInPath("qemu-system-aarch64");
if (ret && !virFileIsExecutable(ret))
VIR_FREE(ret);
}
if (guestarch == VIR_ARCH_I686 &&
!ret &&
hostarch == VIR_ARCH_X86_64) {