[PATCHv1 5/7] qemu_capabilities: Find QEMU binary for S390 arch

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

 



S390 uses qemu-kvm in /usr/libexec.
---
 src/qemu/qemu_capabilities.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index 9ffbf91a90..ac7569679c 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -687,6 +687,11 @@ virQEMUCapsFindBinaryForArch(virArch hostarch,
             goto out;
     }
 
+    /* Fourth attempt: try 'qemu-kvm' */
+    if ((ret = virQEMUCapsFindBinary("%s", "/usr/libexec/qemu-kvm")) != NULL)
+        goto out;
+
+
  out:
     return ret;
 }
-- 
2.14.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]

  Powered by Linux