|
|
9ae3a8 |
From b0e92beaf0cd1146d417bff8241940762ab3d60f Mon Sep 17 00:00:00 2001
|
|
|
9ae3a8 |
From: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
9ae3a8 |
Date: Wed, 18 Sep 2013 20:49:59 +0200
|
|
|
9ae3a8 |
Subject: [PATCH 28/29] target-i386: add cpu64-rhel6 CPU model
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
9ae3a8 |
Message-id: <1379537399-7308-1-git-send-email-ehabkost@redhat.com>
|
|
|
9ae3a8 |
Patchwork-id: 54451
|
|
|
9ae3a8 |
O-Subject: [RHEL-7 qemu-kvm PATCH] target-i386: add cpu64-rhel6 CPU model
|
|
|
9ae3a8 |
Bugzilla: 918907
|
|
|
9ae3a8 |
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Bandan Das <bsd@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Bugzilla: 918907
|
|
|
9ae3a8 |
Upstream status: not applicable
|
|
|
9ae3a8 |
Brew build: http://brewweb.devel.redhat.com/brew/taskinfo?taskID=6300787
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
RHEL-6 has a cpu64-rhel6 CPU model, and it is even the default CPU
|
|
|
9ae3a8 |
model. We need to allow migration from RHEL-6, so we need to have a
|
|
|
9ae3a8 |
compatible cpu64-rhel6 CPU model to be present.
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
Change v1 -> v2:
|
|
|
9ae3a8 |
- Don't include cpu64-rhel5 CPU model. It won't be supported
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
target-i386/cpu.c | 23 +++++++++++++++++++++++
|
|
|
9ae3a8 |
1 file changed, 23 insertions(+)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
target-i386/cpu.c | 23 +++++++++++++++++++++++
|
|
|
9ae3a8 |
1 files changed, 23 insertions(+), 0 deletions(-)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
|
|
|
9ae3a8 |
index 355375b..051ab39 100644
|
|
|
9ae3a8 |
--- a/target-i386/cpu.c
|
|
|
9ae3a8 |
+++ b/target-i386/cpu.c
|
|
|
9ae3a8 |
@@ -668,6 +668,29 @@ static x86_def_t builtin_x86_defs[] = {
|
|
|
9ae3a8 |
.model_id = "Intel(R) Atom(TM) CPU N270 @ 1.60GHz",
|
|
|
9ae3a8 |
},
|
|
|
9ae3a8 |
{
|
|
|
9ae3a8 |
+ .name = "cpu64-rhel6",
|
|
|
9ae3a8 |
+ .level = 4,
|
|
|
9ae3a8 |
+ .vendor = CPUID_VENDOR_AMD,
|
|
|
9ae3a8 |
+ .family = 6,
|
|
|
9ae3a8 |
+ .model = 13,
|
|
|
9ae3a8 |
+ .stepping = 3,
|
|
|
9ae3a8 |
+ .features[FEAT_1_EDX] = CPUID_SSE2 | CPUID_SSE | CPUID_FXSR |
|
|
|
9ae3a8 |
+ CPUID_MMX | CPUID_CLFLUSH | CPUID_PSE36 | CPUID_PAT | CPUID_CMOV |
|
|
|
9ae3a8 |
+ CPUID_MCA | CPUID_PGE | CPUID_MTRR | CPUID_SEP | CPUID_APIC |
|
|
|
9ae3a8 |
+ CPUID_CX8 | CPUID_MCE | CPUID_PAE | CPUID_MSR | CPUID_TSC |
|
|
|
9ae3a8 |
+ CPUID_PSE | CPUID_DE | CPUID_FP87,
|
|
|
9ae3a8 |
+ .features[FEAT_1_ECX] = CPUID_EXT_CX16 | CPUID_EXT_SSE3,
|
|
|
9ae3a8 |
+ .features[FEAT_8000_0001_EDX] = CPUID_EXT2_LM | CPUID_EXT2_FXSR |
|
|
|
9ae3a8 |
+ CPUID_EXT2_MMX | CPUID_EXT2_NX | CPUID_EXT2_PAT | CPUID_EXT2_CMOV |
|
|
|
9ae3a8 |
+ CPUID_EXT2_PGE | CPUID_EXT2_SYSCALL | CPUID_EXT2_APIC |
|
|
|
9ae3a8 |
+ CPUID_EXT2_CX8 | CPUID_EXT2_MCE | CPUID_EXT2_PAE | CPUID_EXT2_MSR | CPUID_EXT2_TSC |
|
|
|
9ae3a8 |
+ CPUID_EXT2_PSE | CPUID_EXT2_DE | CPUID_EXT2_FPU,
|
|
|
9ae3a8 |
+ .features[FEAT_8000_0001_ECX] = CPUID_EXT3_SSE4A | CPUID_EXT3_ABM |
|
|
|
9ae3a8 |
+ CPUID_EXT3_SVM | CPUID_EXT3_LAHF_LM,
|
|
|
9ae3a8 |
+ .xlevel = 0x8000000A,
|
|
|
9ae3a8 |
+ .model_id = "QEMU Virtual CPU version (cpu64-rhel6)",
|
|
|
9ae3a8 |
+ },
|
|
|
9ae3a8 |
+ {
|
|
|
9ae3a8 |
.name = "Conroe",
|
|
|
9ae3a8 |
.level = 4,
|
|
|
9ae3a8 |
.vendor = CPUID_VENDOR_INTEL,
|
|
|
9ae3a8 |
--
|
|
|
9ae3a8 |
1.7.1
|
|
|
9ae3a8 |
|