]>
Commit | Line | Data |
---|---|---|
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 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 |