]> git.proxmox.com Git - pve-qemu.git/blob - debian/patches/pve/0006-set-the-CPU-model-to-kvm64-32-instead-of-qemu64-32.patch
25dd6fca7ec6c19554177c11436d759663013eb8
[pve-qemu.git] / debian / patches / pve / 0006-set-the-CPU-model-to-kvm64-32-instead-of-qemu64-32.patch
1 From 0000000000000000000000000000000000000000 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] 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 610050eb4f..e96901435a 100644
12 --- a/hw/i386/pc.c
13 +++ b/hw/i386/pc.c
14 @@ -1151,9 +1151,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.11.0
28