2018-02-19 12:38:54 +03:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2017-04-05 11:49:19 +03:00
|
|
|
From: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
2020-04-07 17:53:19 +03:00
|
|
|
Date: Mon, 6 Apr 2020 12:16:32 +0200
|
|
|
|
Subject: [PATCH] PVE: [Config] set the CPU model to kvm64/32 instead of
|
2018-08-30 16:00:07 +03:00
|
|
|
qemu64/32
|
2017-04-05 11:49:19 +03:00
|
|
|
|
2019-06-06 13:58:15 +03:00
|
|
|
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
|
2017-04-05 11:49:19 +03:00
|
|
|
---
|
2018-02-22 14:34:57 +03:00
|
|
|
target/i386/cpu.h | 4 ++--
|
2017-04-05 11:49:19 +03:00
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
2018-02-22 14:34:57 +03:00
|
|
|
diff --git a/target/i386/cpu.h b/target/i386/cpu.h
|
2023-10-17 15:10:09 +03:00
|
|
|
index e0771a1043..1018ccc0b8 100644
|
2018-02-22 14:34:57 +03:00
|
|
|
--- a/target/i386/cpu.h
|
|
|
|
+++ b/target/i386/cpu.h
|
2023-10-17 15:10:09 +03:00
|
|
|
@@ -2243,9 +2243,9 @@ uint64_t cpu_get_tsc(CPUX86State *env);
|
2018-08-30 16:00:07 +03:00
|
|
|
#define CPU_RESOLVING_TYPE TYPE_X86_CPU
|
2018-02-22 14:34:57 +03:00
|
|
|
|
2017-04-05 11:49:19 +03:00
|
|
|
#ifdef TARGET_X86_64
|
2018-02-22 14:34:57 +03:00
|
|
|
-#define TARGET_DEFAULT_CPU_TYPE X86_CPU_TYPE_NAME("qemu64")
|
|
|
|
+#define TARGET_DEFAULT_CPU_TYPE X86_CPU_TYPE_NAME("kvm64")
|
2017-04-05 11:49:19 +03:00
|
|
|
#else
|
2018-02-22 14:34:57 +03:00
|
|
|
-#define TARGET_DEFAULT_CPU_TYPE X86_CPU_TYPE_NAME("qemu32")
|
|
|
|
+#define TARGET_DEFAULT_CPU_TYPE X86_CPU_TYPE_NAME("kvm32")
|
2017-04-05 11:49:19 +03:00
|
|
|
#endif
|
|
|
|
|
2022-02-11 12:24:33 +03:00
|
|
|
#define cpu_list x86_cpu_list
|