summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorXin Li (Intel) <xin@zytor.com>2025-01-03 00:48:25 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2025-06-03 22:42:46 +0200
commit0b901459a87a7fdbed36e574aae33e0635a3e9af (patch)
treedeb8b3449a0f30ceccb5c508d11b306e5e485234
parent2409089b87692700deb38fc0b8ac94e31b70ffc3 (diff)
downloadfocaccia-qemu-0b901459a87a7fdbed36e574aae33e0635a3e9af.tar.gz
focaccia-qemu-0b901459a87a7fdbed36e574aae33e0635a3e9af.zip
target/i386: Remove FRED dependency on WRMSRNS
WRMSRNS doesn't become a required feature for FERD, and Linux has
removed the dependency, as such remove it from Qemu.

Cc: qemu-stable@nongnu.org
Signed-off-by: Xin Li (Intel) <xin@zytor.com>
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Link: https://lore.kernel.org/r/20250103084827.1820007-2-xin@zytor.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--target/i386/cpu.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index c9bd3444e4..73403505c5 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -1804,10 +1804,6 @@ static FeatureDep feature_dependencies[] = {
         .to = { FEAT_7_1_EAX,               CPUID_7_1_EAX_FRED },
     },
     {
-        .from = { FEAT_7_1_EAX,             CPUID_7_1_EAX_WRMSRNS },
-        .to = { FEAT_7_1_EAX,               CPUID_7_1_EAX_FRED },
-    },
-    {
         .from = { FEAT_7_0_EBX,             CPUID_7_0_EBX_SGX },
         .to = { FEAT_7_0_ECX,               CPUID_7_0_ECX_SGX_LC },
     },