From: "Xin Li (Intel)" <x...@zytor.com>

WRMSRNS doesn't become a required feature for FERD, and Linux has
removed the dependency, as such remove it from Qemu.

Cc: qemu-sta...@nongnu.org
Signed-off-by: Xin Li (Intel) <x...@zytor.com>
Reviewed-by: Xiaoyao Li <xiaoyao...@intel.com>
Link: https://lore.kernel.org/r/20250103084827.1820007-2-...@zytor.com
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
(cherry picked from commit 0b901459a87a7fdbed36e574aae33e0635a3e9af)
Signed-off-by: Michael Tokarev <m...@tls.msk.ru>

diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 5e12cba1b8..2c9517f56d 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -1774,10 +1774,6 @@ static FeatureDep feature_dependencies[] = {
         .from = { FEAT_7_1_EAX,             CPUID_7_1_EAX_LKGS },
         .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 },
-- 
2.47.2


Reply via email to