]> git.proxmox.com Git - pve-qemu-kvm.git/blame - debian/patches/pve/0007-set-the-CPU-model-to-kvm64-32-instead-of-qemu64-32.patch
rebase patches onto 2.6.1
[pve-qemu-kvm.git] / debian / patches / pve / 0007-set-the-CPU-model-to-kvm64-32-instead-of-qemu64-32.patch
CommitLineData
6fb04df7 1From cfeb66f21383c31c70e69165c80e65c1901e7fa1 Mon Sep 17 00:00:00 2001
ca0fe5f5
WB
2From: Wolfgang Bumiller <w.bumiller@proxmox.com>
3Date: Wed, 9 Dec 2015 14:30:21 +0100
6fb04df7 4Subject: [PATCH 07/55] set the CPU model to kvm64/32 instead of qemu64/32
ca0fe5f5
WB
5
6---
7 hw/i386/pc.c | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
9
10diff --git a/hw/i386/pc.c b/hw/i386/pc.c
6fb04df7 11index 99437e0..1225a99 100644
ca0fe5f5
WB
12--- a/hw/i386/pc.c
13+++ b/hw/i386/pc.c
6fb04df7 14@@ -1111,9 +1111,9 @@ void pc_cpus_init(PCMachineState *pcms)
ca0fe5f5
WB
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--
272.1.4
28