mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 19:45:21 +00:00
qemu: caps: qemu-system-aarch64 supports armv7l
And it always has, so advertise it similarly to i686
This commit is contained in:
parent
29ce1693fa
commit
667370d67e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user