[PATCH 2/3] qemu: caps: qemu-system-aarch64 supports armv7l

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



And it always has, so advertise it similarly to i686
---
 src/qemu/qemu_capabilities.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index 88c31fa..1e7bddb 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -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) {
-- 
2.4.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]