Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 1d34bd5ae937157c68c1d2a605bb0b67 > files > 11

libvirt-0.6.3-20.1.el5_4.src.rpm

diff -rup libvirt-0.6.3.orig/src/qemu_conf.c libvirt-0.6.3.new/src/qemu_conf.c
--- libvirt-0.6.3.orig/src/qemu_conf.c	2009-06-04 05:50:29.000000000 -0400
+++ libvirt-0.6.3.new/src/qemu_conf.c	2009-06-04 06:11:50.000000000 -0400
@@ -279,7 +279,8 @@ qemudCapsInitGuest(virCapsPtr caps,
      */
     if (STREQ(info->arch, hostmachine) ||
         (STREQ(hostmachine, "x86_64") && STREQ(info->arch, "i686"))) {
-        const char *const kvmbins[] = { "/usr/bin/qemu-kvm", /* Fedora */
+        const char *const kvmbins[] = { "/usr/libexec/qemu-kvm", /* RHEL */
+                                        "/usr/bin/qemu-kvm", /* Fedora */
                                         "/usr/bin/kvm" }; /* Upstream .spec */
 
         for (i = 0; i < ARRAY_CARDINALITY(kvmbins); ++i) {