Re: [PATCH 0/2] x86/kvm/hyper-v: fix KVM_CAP_HYPERV_ENLIGHTENED_VMCS

From: Paolo Bonzini
Date: Fri Jan 25 2019 - 12:51:08 EST


On 17/01/19 18:12, Vitaly Kuznetsov wrote:
> Commit e2e871ab2f02 ("x86/kvm/hyper-v: Introduce nested_get_evmcs_version()
> helper") broke KVM_CAP_HYPERV_ENLIGHTENED_VMCS: the returned evmcs version
> is always zero now. Fix the issue and add a check to evmcs selftest.
>
> The offending commit is in 5.0-rc1, it would be great if the fix could be
> queued before 5.0.
>
> Vitaly Kuznetsov (2):
> x86/kvm/hyper-v: nested_enable_evmcs() sets vmcs_version incorrectly
> KVM: selftests: check returned evmcs version range
>
> arch/x86/kvm/vmx/evmcs.c | 7 ++++---
> tools/testing/selftests/kvm/x86_64/evmcs_test.c | 6 ++++++
> 2 files changed, 10 insertions(+), 3 deletions(-)
>


Queued, thanks.

Paolo