The following series implements support within KVM for MSR-based features. The first patch creates the MSR-based feature framework used to retrieve the available MSR-based features. The second patch makes use of the framework to allow a guest to determine if the LFENCE instruction is serializing on AMD processors. This series is based on the master branch of the KVM git tree. https://git.kernel.org/pub/scm/virt/kvm/kvm.git --- Tom Lendacky (2): KVM: x86: Add a framework for supporting MSR-based features KVM: SVM: Add MSR-based feature support for serializing LFENCE Documentation/virtual/kvm/api.txt | 47 +++++++++++++++++++++++++++++++++ arch/x86/include/asm/kvm_host.h | 2 + arch/x86/include/uapi/asm/kvm.h | 1 + arch/x86/kvm/svm.c | 43 +++++++++++++++++++++++++++++++ arch/x86/kvm/x86.c | 52 +++++++++++++++++++++++++++++++++++++ include/uapi/linux/kvm.h | 4 +++ 6 files changed, 149 insertions(+) -- Tom Lendacky