Blame SOURCES/0007-Use-kvm-by-default.patch

1bdc94
From 5723fea739b8f883cbd7e158292199a01b566e55 Mon Sep 17 00:00:00 2001
4a2fec
From: Miroslav Rezanina <mrezanin@redhat.com>
4a2fec
Date: Thu, 18 Dec 2014 06:27:49 +0100
4a2fec
Subject: Use kvm by default
4a2fec
4a2fec
Bugzilla: 906185
4a2fec
4a2fec
RHEL uses kvm accelerator by default, if available.
4a2fec
4a2fec
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
4a2fec
4a2fec
Rebase notes (2.10.0)
4a2fec
- variable rename (upstream)
4a2fec
4a2fec
Rebase notes (2.2.0):
4a2fec
- Move code from vl.c to accel.c
4a2fec
4a2fec
(cherry picked from commit abcd662eb8e516ebe4a6b401e83a62f749491a15)
1bdc94
(cherry picked from commit eca6d5766d956c37e3f7f28d70903d357308c846)
1bdc94
(cherry picked from commit 0672656bb595f3d864b2e108a0278324ee2e7250)
1bdc94
(cherry picked from commit b3c79df62c3d7b1c9355dddb3c4fde285fdfc8c3)
1bdc94
(cherry picked from commit c303c9746b7ccfa46c4b1938ab00a29fea6ced9a)
4a2fec
---
4a2fec
 accel/accel.c | 4 ++--
4a2fec
 1 file changed, 2 insertions(+), 2 deletions(-)
4a2fec
4a2fec
diff --git a/accel/accel.c b/accel/accel.c
1bdc94
index 93e2434..5f3d73f 100644
4a2fec
--- a/accel/accel.c
4a2fec
+++ b/accel/accel.c
4a2fec
@@ -79,8 +79,8 @@ void configure_accelerator(MachineState *ms)
4a2fec
 
4a2fec
     accel = qemu_opt_get(qemu_get_machine_opts(), "accel");
4a2fec
     if (accel == NULL) {
4a2fec
-        /* Use the default "accelerator", tcg */
4a2fec
-        accel = "tcg";
4a2fec
+        /* RHEL uses kvm as the default accelerator, fallback to tcg */
4a2fec
+        accel = "kvm:tcg";
4a2fec
     }
4a2fec
 
4a2fec
     p = accel;
4a2fec
-- 
4a2fec
1.8.3.1
4a2fec