From: Xin Li (Intel) Date: Fri, 3 Jan 2025 08:48:25 +0000 (-0800) Subject: target/i386: Remove FRED dependency on WRMSRNS X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0b901459a87a7fdbed36e574aae33e0635a3e9af;p=thirdparty%2Fqemu.git 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) Reviewed-by: Xiaoyao Li Link: https://lore.kernel.org/r/20250103084827.1820007-2-xin@zytor.com Signed-off-by: Paolo Bonzini --- 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 @@ -1803,10 +1803,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 },