218e99
From 27267616896168fe1177c42a73246a8a9c551be3 Mon Sep 17 00:00:00 2001
218e99
From: Miroslav Rezanina <mrezanin@redhat.com>
218e99
Date: Thu, 11 Apr 2013 11:07:31 +0200
218e99
Subject: Change qemu to qemu-kvm
218e99
218e99
We use qemu-kvm as name for RHEL 7. This patch fixes various pathes and files that uses qemu so they use qemu-kvm instead.
218e99
218e99
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
218e99
218e99
diff --git a/os-posix.c b/os-posix.c
218e99
index d39261d..3a4678a 100644
218e99
--- a/os-posix.c
218e99
+++ b/os-posix.c
218e99
@@ -82,7 +82,7 @@ void os_setup_signal_handling(void)
218e99
 /* Find a likely location for support files using the location of the binary.
218e99
    For installed binaries this will be "$bindir/../share/qemu".  When
218e99
    running from the build tree this will be "$bindir/../pc-bios".  */
218e99
-#define SHARE_SUFFIX "/share/qemu"
218e99
+#define SHARE_SUFFIX "/share/qemu-kvm"
218e99
 #define BUILD_SUFFIX "/pc-bios"
218e99
 char *os_find_datadir(const char *argv0)
218e99
 {
218e99
diff --git a/ui/vnc.c b/ui/vnc.c
218e99
index dfc7459..3726352 100644
218e99
--- a/ui/vnc.c
218e99
+++ b/ui/vnc.c
218e99
@@ -3260,7 +3260,7 @@ void vnc_display_open(DisplayState *ds, const char *display, Error **errp)
218e99
     }
218e99
 
218e99
 #ifdef CONFIG_VNC_SASL
218e99
-    if ((saslErr = sasl_server_init(NULL, "qemu")) != SASL_OK) {
218e99
+    if ((saslErr = sasl_server_init(NULL, "qemu-kvm")) != SASL_OK) {
218e99
         error_setg(errp, "Failed to initialize SASL auth: %s",
218e99
                    sasl_errstring(saslErr, NULL, NULL));
218e99
         goto fail;