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

28 lines
728 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/accel.c | 4 ++--
2017-04-05 11:49:19 +03:00
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/accel/accel.c b/accel/accel.c
index 8ae40e1e13..df21981026 100644
--- a/accel/accel.c
+++ b/accel/accel.c
@@ -79,8 +79,8 @@ void configure_accelerator(MachineState *ms)
2017-04-05 11:49:19 +03:00
accel = qemu_opt_get(qemu_get_machine_opts(), "accel");
if (accel == NULL) {
2017-04-05 11:49:19 +03:00
- /* Use the default "accelerator", tcg */
- accel = "tcg";
2017-04-05 11:49:19 +03:00
+ /* Use the default "accelerator", kvm */
+ accel = "kvm";
2017-04-05 11:49:19 +03:00
}
p = accel;
2017-04-05 11:49:19 +03:00
--
2017-04-05 12:51:17 +03:00
2.11.0
2017-04-05 11:49:19 +03:00