mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
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) {
|
if (virQEMUCapsGuestIsNative(hostarch, guestarch) && !binary) {
|
||||||
const char *kvmbins[] = {
|
const char *kvmbins[] = {
|
||||||
"/usr/libexec/qemu-kvm", /* RHEL */
|
"/usr/libexec/qemu-kvm", /* RHEL */
|
||||||
"qemu-kvm", /* Fedora */
|
|
||||||
"kvm", /* Debian/Ubuntu */
|
|
||||||
};
|
};
|
||||||
|
|
||||||
for (i = 0; i < ARRAY_CARDINALITY(kvmbins); ++i) {
|
for (i = 0; i < ARRAY_CARDINALITY(kvmbins); ++i) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user