]> git.proxmox.com Git - pve-qemu-kvm.git/blob - debian/patches/pve/0007-set-the-CPU-model-to-kvm64-32-instead-of-qemu64-32.patch
adding 2.5 pve patches and left-over extra fixes
[pve-qemu-kvm.git] / debian / patches / pve / 0007-set-the-CPU-model-to-kvm64-32-instead-of-qemu64-32.patch
1 From c868ddb3ae37b5d8932c491b3b8de46ac83c3189 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
5
6 ---
7 hw/i386/pc.c | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
9
10 diff --git a/hw/i386/pc.c b/hw/i386/pc.c
11 index 5e20e07..a20df3c 100644
12 --- a/hw/i386/pc.c
13 +++ b/hw/i386/pc.c
14 @@ -1128,9 +1128,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
24 }
25
26 --
27 2.1.4
28