cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
218e99
From 0eae445a8da5d9598af0c4419fa7fa94fc896f22 Mon Sep 17 00:00:00 2001
218e99
From: Miroslav Rezanina <mrezanin@redhat.com>
218e99
Date: Thu, 4 Apr 2013 11:00:41 +0200
218e99
Subject: Use kvm by default
218e99
218e99
Bugzilla: 906185
218e99
218e99
RHEL uses kvm accelerator by default, if available.
218e99
218e99
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
218e99
218e99
diff --git a/vl.c b/vl.c
218e99
index 59dc0b4..6526c22 100644
218e99
--- a/vl.c
218e99
+++ b/vl.c
218e99
@@ -2655,7 +2655,7 @@ static int configure_accelerator(void)
218e99
 
218e99
     if (p == NULL) {
218e99
         /* Use the default "accelerator", tcg */
218e99
-        p = "tcg";
218e99
+        p = "kvm:tcg";
218e99
     }
218e99
 
218e99
     while (!accel_initialised && *p != '\0') {