提交 ed5efee9 编写于 作者: A Andrea Bolognani

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: NAndrea Bolognani <abologna@redhat.com>
上级 9f01f9b4
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册