[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 4/4] i386: Add -noTSX aliases for hle=off, rtm=off CPU models
From: |
Paolo Bonzini |
Subject: |
[PULL 4/4] i386: Add -noTSX aliases for hle=off, rtm=off CPU models |
Date: |
Thu, 21 Nov 2019 16:36:49 +0100 |
From: Eduardo Habkost <address@hidden>
We have been trying to avoid adding new aliases for CPU model
versions, but in the case of changes in defaults introduced by
the TAA mitigation patches, the aliases might help avoid user
confusion when applying host software updates.
Signed-off-by: Eduardo Habkost <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
target/i386/cpu.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 37c023f..730fb28 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -2904,6 +2904,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
},
{
.version = 3,
+ .alias = "Skylake-Client-noTSX-IBRS",
.props = (PropValue[]) {
{ "hle", "off" },
{ "rtm", "off" },
@@ -3025,6 +3026,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
},
{
.version = 3,
+ .alias = "Skylake-Server-noTSX-IBRS",
.props = (PropValue[]) {
{ "hle", "off" },
{ "rtm", "off" },
@@ -3145,6 +3147,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
},
},
{ .version = 3,
+ .alias = "Cascadelake-Server-noTSX",
.props = (PropValue[]) {
{ "hle", "off" },
{ "rtm", "off" },
@@ -3257,6 +3260,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
{ .version = 1 },
{
.version = 2,
+ .alias = "Icelake-Client-noTSX",
.props = (PropValue[]) {
{ "hle", "off" },
{ "rtm", "off" },
@@ -3373,6 +3377,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
{ .version = 1 },
{
.version = 2,
+ .alias = "Icelake-Server-noTSX",
.props = (PropValue[]) {
{ "hle", "off" },
{ "rtm", "off" },
--
1.8.3.1
- [PULL 0/4] x86 updates for QEMU 4.2-rc, Paolo Bonzini, 2019/11/21
- [PULL 2/4] target/i386: add support for MSR_IA32_TSX_CTRL, Paolo Bonzini, 2019/11/21
- [PULL 3/4] i386: Add new versions of Skylake/Cascadelake/Icelake without TSX, Paolo Bonzini, 2019/11/21
- [PULL 4/4] i386: Add -noTSX aliases for hle=off, rtm=off CPU models,
Paolo Bonzini <=
- [PULL 1/4] target/i386: add VMX features to named CPU models, Paolo Bonzini, 2019/11/21
- Re: [PULL 0/4] x86 updates for QEMU 4.2-rc, no-reply, 2019/11/21
- Re: [PULL 0/4] x86 updates for QEMU 4.2-rc, Peter Maydell, 2019/11/21