update to 2.7
[pve-qemu-kvm.git] / debian / patches / pve / 0007-set-the-CPU-model-to-kvm64-32-instead-of-qemu64-32.patch
blob5cb42c62b109d4d68889dfc13d9776a2e1ff9676
1 From 058dbe22c0c172032264e25faa45278569a326ff Mon Sep 17 00:00:00 2001
2 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 Date: Wed, 9 Dec 2015 14:30:21 +0100
4 Subject: [PATCH 07/41] set the CPU model to kvm64/32 instead of qemu64/32
6 ---
7 hw/i386/pc.c | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
10 diff --git a/hw/i386/pc.c b/hw/i386/pc.c
11 index 022dd1b..ba8a5a1 100644
12 --- a/hw/i386/pc.c
13 +++ b/hw/i386/pc.c
14 @@ -1160,9 +1160,9 @@ void pc_cpus_init(PCMachineState *pcms)
15 /* init CPUs */
16 if (machine->cpu_model == NULL) {
17 #ifdef TARGET_X86_64
18 - machine->cpu_model = "qemu64";
19 + machine->cpu_model = "kvm64";
20 #else
21 - machine->cpu_model = "qemu32";
22 + machine->cpu_model = "kvm32";
23 #endif
26 --
27 2.1.4