i386: Remove osxsave CPUID flag name
PATCH 1/1 i386: Remove osxsave CPUID flag name
OSXAVE is not a static feature flag: it changes dynamically at runtime depending on CR4, and it was never configurable: KVM never returned OSXSAVE on GET_SUPPORTED_CPUID, and it is not included in TCG_EXT_FEATURES.
Remove OSXSAVE from the feature name array so users don't try to configure it manually.
Signed-off-by Eduardo Habkost <[email protected]>
--- target/i386/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target/i386/cpu.c +1 -1
@@ -614,7 +614,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {"fma" ,"cx16" ,"xtpr" ,"pdcm" ,NULL ,"pcid" ,"dca" ,"sse4.1" ,"sse4.2" ,"x2apic" ,"movbe" ,"popcnt" , -"tsc-deadline" ,"aes" ,"xsave" ,"osxsave" , +"tsc-deadline" ,"aes" ,"xsave" ,NULL /* osxsave */ , "avx", "f16c", "rdrand", "hypervisor", }, .cpuid_eax = 1, .cpuid_reg = R_ECX,
Signature · 1 line
2.18.0.rc1.1.g3f1ff2140
Quoted 10 lines · Eduardo Habkost
OSXAVE is not a static feature flag: it changes dynamically at runtime depending on CR4, and it was never configurable: KVM never returned OSXSAVE on
GET_SUPPORTED_CPUID, and it is not included inTCG_EXT_FEATURES.Remove OSXSAVE from the feature name array so users don't try to configure it manually.
Signed-off-by Eduardo Habkost <[email protected]>---
Reviewed-by Richard Henderson <[email protected]>
r~