]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/i386: Remove FRED dependency on WRMSRNS
authorXin Li (Intel) <xin@zytor.com>
Fri, 3 Jan 2025 08:48:25 +0000 (00:48 -0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 5 Jun 2025 15:27:03 +0000 (18:27 +0300)
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>
(cherry picked from commit 0b901459a87a7fdbed36e574aae33e0635a3e9af)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/i386/cpu.c

index 5e12cba1b8283db1cfb4e64ae4463f8a2dae03cf..2c9517f56df898eccda6b40341e5d642ef03e3e0 100644 (file)
@@ -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 },