On 10/8/22 00:27, Sean Christopherson wrote:
CPUID.80000021H:EAX[bit 9] indicates that the SMM_CTL MSR (0xc0010116)
is not supported. This defeature can be advertised by
KVM_GET_SUPPORTED_CPUID regardless of whether or not the host
enumerates it.
Might be worth noting that KVM will only enumerate the bit if the host happens to
have a max extend leaf > 80000021.
Actually 0x8000001d, because 0x80000021 is a synthetic leaf (the only
one of its kind). Unfortunately we cannot synthesize 0x80000021
unconditionally due to a preexisting bug in QEMU. :(
Paolo