]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
KVM: x86: Remove KF() macro placeholder
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 5 Nov 2018 18:44:32 +0000 (10:44 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 21 Dec 2018 10:28:25 +0000 (11:28 +0100)
commit9b7ebff23cb8a8e126b3852ad0b1bfb284f25273
treea445fe43cf8d3c0fd70705aaf3f58dc2817be16b
parent788fc1e9ad8e1d332d3a18692028d1faee6fabb0
KVM: x86: Remove KF() macro placeholder

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: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/cpuid.c