RFC v1: https://www.spinics.net/lists/kvm/msg153753.html x86_64 and i386 compiles for me, but let's see what build bots think of it. Radim Krčmář (3): KVM: x86: X86_FEATURE_NRIPS is not scattered anymore KVM: x86: generalize guest_cpuid_has_ helpers KVM: x86: use general helpers for some cpuid manipulation arch/x86/kvm/cpuid.h | 183 +++++++++++++++++---------------------------------- arch/x86/kvm/mmu.c | 7 +- arch/x86/kvm/mtrr.c | 2 +- arch/x86/kvm/svm.c | 7 +- arch/x86/kvm/vmx.c | 32 ++++----- arch/x86/kvm/x86.c | 52 +++++++-------- 6 files changed, 105 insertions(+), 178 deletions(-) -- 2.13.3