• Sean Christopherson's avatar
    KVM: x86: Remove KF() macro placeholder · 9b7ebff2
    Sean Christopherson authored
    Although well-intentioned, keeping the KF() definition as a hint for
    handling scattered CPUID features may be counter-productive.  Simply
    redefining the bit position only works for directly manipulating the
    guest's CPUID leafs, e.g. it doesn't make guest_cpuid_has() magically
    work.  Taking an alternative approach, e.g. ensuring the bit position
    is identical between the Linux-defined and hardware-defined features,
    may be a simpler and/or more effective method of exposing scattered
    features to the guest.
    Signed-off-by: default avatarSean Christopherson <sean.j.christopherson@intel.com>
    Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
    9b7ebff2
cpuid.c 24.8 KB