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:
Andrea Bolognani 2018-09-18 17:26:37 +02:00
parent 9f01f9b4e4
commit ed5efee914
1 changed files with 0 additions and 2 deletions

View File

@ -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) {