• Jim Mattson's avatar
    KVM: x86: Advertise that the SMM_CTL MSR is not supported · 74bee0ca
    Jim Mattson authored
    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; currently it will be
    included only if the host enumerates at least leaf 8000001DH, due to a
    preexisting bug in QEMU that KVM has to work around (commit f751d8ea
    
    ,
    "KVM: x86: work around QEMU issue with synthetic CPUID leaves", 2022-04-29).
    Signed-off-by: default avatarJim Mattson <jmattson@google.com>
    Message-Id: <20221007221644.138355-1-jmattson@google.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    74bee0ca
cpuid.c 42.6 KB