]> git.ipfire.org Git - thirdparty/qemu.git/commit
i386/cpu: Clear FEAT_XSAVE_XSS_LO/HI leafs when CPUID_EXT_XSAVE is not available
authorXiaoyao Li <xiaoyao.li@intel.com>
Mon, 15 Jan 2024 09:13:24 +0000 (04:13 -0500)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 20 Feb 2024 15:41:25 +0000 (18:41 +0300)
commit0766f137f50068e73fdca2a23b6f7b1de23d83ef
tree54294fa5a5461bebc6450a7b389165e2de849c74
parent4d9dc117eae8a5d5464635a436349c71e2f8ce8d
i386/cpu: Clear FEAT_XSAVE_XSS_LO/HI leafs when CPUID_EXT_XSAVE is not available

Leaf FEAT_XSAVE_XSS_LO and FEAT_XSAVE_XSS_HI also need to be cleared
when CPUID_EXT_XSAVE is not set.

Fixes: 301e90675c3f ("target/i386: Enable support for XSAVES based features")
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Reviewed-by: Yang Weijiang <weijiang.yang@intel.com>
Message-ID: <20240115091325.1904229-2-xiaoyao.li@intel.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 81f5cad3858f27623b1b14467926032d229b76cc)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/i386/cpu.c