]> git.proxmox.com Git - pve-qemu.git/blame_incremental - debian/patches/pve/0003-PVE-Config-set-the-CPU-model-to-kvm64-32-instead-of-.patch
Fix dirty-bitmap PBS backup with multiple drives
[pve-qemu.git] / debian / patches / pve / 0003-PVE-Config-set-the-CPU-model-to-kvm64-32-instead-of-.patch
... / ...
CommitLineData
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Wolfgang Bumiller <w.bumiller@proxmox.com>
3Date: Mon, 6 Apr 2020 12:16:32 +0200
4Subject: [PATCH] PVE: [Config] set the CPU model to kvm64/32 instead of
5 qemu64/32
6
7Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
8---
9 target/i386/cpu.h | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
11
12diff --git a/target/i386/cpu.h b/target/i386/cpu.h
13index e818fc712a..dd9bf7b3da 100644
14--- a/target/i386/cpu.h
15+++ b/target/i386/cpu.h
16@@ -1954,9 +1954,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_signal_handler cpu_x86_signal_handler