Blame SOURCES/0005-RHEL-7-v2v-Select-correct-qemu-binary-for-o-qemu-mod.patch

151578
From a16c5c28835dab579f7ff0c782bff4706f5efc28 Mon Sep 17 00:00:00 2001
151578
From: "Richard W.M. Jones" <rjones@redhat.com>
151578
Date: Sun, 28 Sep 2014 19:14:43 +0100
151578
Subject: [PATCH] RHEL 7: v2v: Select correct qemu binary for -o qemu mode
151578
 (RHBZ#1147313).
151578
151578
RHEL 7 does not have qemu-system-x86_64 (etc), and in addition the
151578
qemu binary is located in /usr/libexec.  Encode the path to this
151578
binary directly in the script.
151578
151578
Note that we don't support people running qemu directly like this.
151578
It's just for quick testing of converted VMs, and to help us with
151578
support cases.
151578
---
151578
 v2v/qemu_command.ml | 2 +-
151578
 1 file changed, 1 insertion(+), 1 deletion(-)
151578
151578
diff --git a/v2v/qemu_command.ml b/v2v/qemu_command.ml
151578
index ccdda8ad4..19757e007 100644
151578
--- a/v2v/qemu_command.ml
151578
+++ b/v2v/qemu_command.ml
151578
@@ -32,7 +32,7 @@ and arg =
151578
   | Commas of string * string list
151578
 
151578
 let create ?(arch = "x86_64") () =
151578
-  { cmd = "qemu-system-" ^ arch; args = [] }
151578
+  { cmd = "/usr/libexec/qemu-kvm"; args = [] }
151578
 
151578
 let flag t k =
151578
   assert (String.is_prefix k "-");
151578
-- 
151578
2.14.3
151578