Re: [RFC PATCH 0/2] KVM: MSR-based features
From: Tom Lendacky
Date: Thu Feb 08 2018 - 18:03:26 EST
On 2/8/2018 4:58 PM, Tom Lendacky wrote:
> 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.
>
Paolo,
Let me know if this is the direction you were thinking of for
MSR-based features.
Thanks,
Tom
> ---
>
> 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(-)
>