]> git.proxmox.com Git - pve-qemu.git/blob - debian/patches/pve/0003-PVE-Config-set-the-CPU-model-to-kvm64-32-instead-of-.patch
PVE backup: remove unused targetfile member from device info
[pve-qemu.git] / debian / patches / pve / 0003-PVE-Config-set-the-CPU-model-to-kvm64-32-instead-of-.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 Date: Mon, 6 Apr 2020 12:16:32 +0200
4 Subject: [PATCH] PVE: [Config] set the CPU model to kvm64/32 instead of
5 qemu64/32
6
7 Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8 ---
9 target/i386/cpu.h | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
11
12 diff --git a/target/i386/cpu.h b/target/i386/cpu.h
13 index d243e290d3..3489b05ec4 100644
14 --- a/target/i386/cpu.h
15 +++ b/target/i386/cpu.h
16 @@ -2203,9 +2203,9 @@ uint64_t cpu_get_tsc(CPUX86State *env);
17 #define CPU_RESOLVING_TYPE TYPE_X86_CPU
18
19 #ifdef TARGET_X86_64
20 -#define TARGET_DEFAULT_CPU_TYPE X86_CPU_TYPE_NAME("qemu64")
21 +#define TARGET_DEFAULT_CPU_TYPE X86_CPU_TYPE_NAME("kvm64")
22 #else
23 -#define TARGET_DEFAULT_CPU_TYPE X86_CPU_TYPE_NAME("qemu32")
24 +#define TARGET_DEFAULT_CPU_TYPE X86_CPU_TYPE_NAME("kvm32")
25 #endif
26
27 #define cpu_list x86_cpu_list