|
|
016a62 |
From d52cded7f0cab801cfd59c4c97f70f48f332c1bb Mon Sep 17 00:00:00 2001
|
|
|
016a62 |
From: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
016a62 |
Date: Mon, 23 Dec 2019 21:17:05 +0000
|
|
|
016a62 |
Subject: [PATCH] i386: Remove cpu64-rhel6 CPU model
|
|
|
016a62 |
|
|
|
016a62 |
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
016a62 |
Message-id: <20191223211705.34325-1-ehabkost@redhat.com>
|
|
|
016a62 |
Patchwork-id: 93214
|
|
|
016a62 |
O-Subject: [RHEL-8.2.0 qemu-kvm PATCH] i386: Remove cpu64-rhel6 CPU model
|
|
|
016a62 |
Bugzilla: 1741346
|
|
|
016a62 |
RH-Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
016a62 |
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
016a62 |
RH-Acked-by: Thomas Huth <thuth@redhat.com>
|
|
|
016a62 |
|
|
|
016a62 |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1741346
|
|
|
016a62 |
BRANCH: rhel-8.2.0
|
|
|
016a62 |
Upstream: not applicable
|
|
|
016a62 |
Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=25526009
|
|
|
016a62 |
|
|
|
016a62 |
We don't provide rhel6 machine types anymore, so we don't need to
|
|
|
016a62 |
provide compatibility with RHEl6. cpu64-rhel6 was documented as
|
|
|
016a62 |
deprecated and scheduled for removal in 8.2, so now it's time to
|
|
|
016a62 |
remove it.
|
|
|
016a62 |
|
|
|
016a62 |
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
016a62 |
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
|
016a62 |
---
|
|
|
016a62 |
target/i386/cpu.c | 26 +-------------------------
|
|
|
016a62 |
1 file changed, 1 insertion(+), 25 deletions(-)
|
|
|
016a62 |
|
|
|
016a62 |
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
|
|
|
016a62 |
index 0717c66..33abc24 100644
|
|
|
016a62 |
--- a/target/i386/cpu.c
|
|
|
016a62 |
+++ b/target/i386/cpu.c
|
|
|
016a62 |
@@ -1739,12 +1739,7 @@ static CPUCaches epyc_cache_info = {
|
|
|
016a62 |
|
|
|
016a62 |
static X86CPUDefinition builtin_x86_defs[] = {
|
|
|
016a62 |
{
|
|
|
016a62 |
- /* qemu64 is the default CPU model for all *-rhel7.* machine-types.
|
|
|
016a62 |
- * The default on RHEL-6 was cpu64-rhel6.
|
|
|
016a62 |
- * libvirt assumes that qemu64 is the default for _all_ machine-types,
|
|
|
016a62 |
- * so we should try to keep qemu64 and cpu64-rhel6 as similar as
|
|
|
016a62 |
- * possible.
|
|
|
016a62 |
- */
|
|
|
016a62 |
+ /* qemu64 is the default CPU model for all machine-types */
|
|
|
016a62 |
.name = "qemu64",
|
|
|
016a62 |
.level = 0xd,
|
|
|
016a62 |
.vendor = CPUID_VENDOR_AMD,
|
|
|
016a62 |
@@ -2045,25 +2040,6 @@ static X86CPUDefinition builtin_x86_defs[] = {
|
|
|
016a62 |
.model_id = "Intel(R) Atom(TM) CPU N270 @ 1.60GHz",
|
|
|
016a62 |
},
|
|
|
016a62 |
{
|
|
|
016a62 |
- .name = "cpu64-rhel6",
|
|
|
016a62 |
- .level = 4,
|
|
|
016a62 |
- .vendor = CPUID_VENDOR_AMD,
|
|
|
016a62 |
- .family = 6,
|
|
|
016a62 |
- .model = 13,
|
|
|
016a62 |
- .stepping = 3,
|
|
|
016a62 |
- .features[FEAT_1_EDX] = CPUID_SSE2 | CPUID_SSE | CPUID_FXSR |
|
|
|
016a62 |
- CPUID_MMX | CPUID_CLFLUSH | CPUID_PSE36 | CPUID_PAT | CPUID_CMOV |
|
|
|
016a62 |
- CPUID_MCA | CPUID_PGE | CPUID_MTRR | CPUID_SEP | CPUID_APIC |
|
|
|
016a62 |
- CPUID_CX8 | CPUID_MCE | CPUID_PAE | CPUID_MSR | CPUID_TSC |
|
|
|
016a62 |
- CPUID_PSE | CPUID_DE | CPUID_FP87,
|
|
|
016a62 |
- .features[FEAT_1_ECX] = CPUID_EXT_CX16 | CPUID_EXT_SSE3,
|
|
|
016a62 |
- .features[FEAT_8000_0001_EDX] = CPUID_EXT2_LM | CPUID_EXT2_NX | CPUID_EXT2_SYSCALL,
|
|
|
016a62 |
- .features[FEAT_8000_0001_ECX] = CPUID_EXT3_SSE4A | CPUID_EXT3_ABM |
|
|
|
016a62 |
- CPUID_EXT3_SVM | CPUID_EXT3_LAHF_LM,
|
|
|
016a62 |
- .xlevel = 0x8000000A,
|
|
|
016a62 |
- .model_id = "QEMU Virtual CPU version (cpu64-rhel6)",
|
|
|
016a62 |
- },
|
|
|
016a62 |
- {
|
|
|
016a62 |
.name = "Conroe",
|
|
|
016a62 |
.level = 10,
|
|
|
016a62 |
.vendor = CPUID_VENDOR_INTEL,
|
|
|
016a62 |
--
|
|
|
016a62 |
1.8.3.1
|
|
|
016a62 |
|