mirror of https://gitee.com/openkylin/libvirt.git
qemu: Don't look for "qemu-kvm" and "kvm" binaries
Both Fedora's qemu-kvm and Debian's/Ubuntu's kvm are nothing more than paper-thin wrappers around the native QEMU binary, so we gain nothing by looking for them. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
9f01f9b4e4
commit
ed5efee914
|
@ -767,8 +767,6 @@ virQEMUCapsInitGuest(virCapsPtr caps,
|
|||
if (virQEMUCapsGuestIsNative(hostarch, guestarch) && !binary) {
|
||||
const char *kvmbins[] = {
|
||||
"/usr/libexec/qemu-kvm", /* RHEL */
|
||||
"qemu-kvm", /* Fedora */
|
||||
"kvm", /* Debian/Ubuntu */
|
||||
};
|
||||
|
||||
for (i = 0; i < ARRAY_CARDINALITY(kvmbins); ++i) {
|
||||
|
|
Loading…
Reference in New Issue