The following series implements support within KVM for MSR-based features. The first patch creates the MSR-based feature framework used to initialize and retrieve the MSR-based features. The second patch adds support that will allow a guest to determine if the LFENCE instruction is serializing on AMD processors.
This series is based on the next branch. --- Tom Lendacky (2): KVM: x86: Add a framework for supporting MSR-based features KVM: SVM: Add MSR feature support for serializing LFENCE arch/x86/include/asm/kvm_host.h | 1 arch/x86/kvm/svm.c | 16 +++++ arch/x86/kvm/x86.c | 114 ++++++++++++++++++++++++++++++++++++++- include/uapi/linux/kvm.h | 1 4 files changed, 130 insertions(+), 2 deletions(-) -- Tom Lendacky