pve-qemu-qoup/debian/patches/pve/0006-set-the-CPU-model-to-kvm64-32-instead-of-qemu64-32.patch

29 lines
762 B
Diff
Raw Normal View History

2017-08-07 10:10:07 +03:00
From 99d1d87c126c630afed3885a26b5c4c6ca6e050b 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:30:21 +0100
2017-08-07 10:10:07 +03:00
Subject: [PATCH 06/28] set the CPU model to kvm64/32 instead of qemu64/32
2017-04-05 11:49:19 +03:00
---
hw/i386/pc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
2017-04-05 12:51:17 +03:00
index d24388e05f..81e91a4897 100644
2017-04-05 11:49:19 +03:00
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
2017-04-05 12:38:26 +03:00
@@ -1151,9 +1151,9 @@ void pc_cpus_init(PCMachineState *pcms)
2017-04-05 11:49:19 +03:00
/* init CPUs */
if (machine->cpu_model == NULL) {
#ifdef TARGET_X86_64
- machine->cpu_model = "qemu64";
+ machine->cpu_model = "kvm64";
#else
- machine->cpu_model = "qemu32";
+ machine->cpu_model = "kvm32";
#endif
}
--
2017-04-05 12:51:17 +03:00
2.11.0
2017-04-05 11:49:19 +03:00