pve-qemu/debian/patches/pve/0004-use-kvm-by-default.patch

28 lines
714 B
Diff
Raw Normal View History

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2017-04-05 11:49:19 +03:00
From: Wolfgang Bumiller <w.bumiller@proxmox.com>
Date: Wed, 9 Dec 2015 14:27:05 +0100
Subject: [PATCH] use kvm by default
2017-04-05 11:49:19 +03:00
---
accel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/accel.c b/accel.c
2017-04-05 12:51:17 +03:00
index 664bb88422..ddb23a3f1d 100644
2017-04-05 11:49:19 +03:00
--- a/accel.c
+++ b/accel.c
2017-04-05 12:38:26 +03:00
@@ -87,8 +87,8 @@ void configure_accelerator(MachineState *ms)
2017-04-05 11:49:19 +03:00
p = qemu_opt_get(qemu_get_machine_opts(), "accel");
if (p == NULL) {
- /* Use the default "accelerator", tcg */
- p = "tcg";
+ /* Use the default "accelerator", kvm */
+ p = "kvm";
}
while (!accel_initialised && *p != '\0') {
--
2017-04-05 12:51:17 +03:00
2.11.0
2017-04-05 11:49:19 +03:00