]> git.baikalelectronics.ru Git - kernel.git/commit
x86/kvm/hyper-v: Introduce nested_get_evmcs_version() helper
authorVitaly Kuznetsov <vkuznets@redhat.com>
Mon, 10 Dec 2018 17:21:55 +0000 (18:21 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Dec 2018 16:59:54 +0000 (17:59 +0100)
commit51a8bd879ad032c18866b24cbf7aaf4b8b7cc9dc
tree991cd58f1454c2200eb91eed84a4580c962db112
parentc30f52bb3973e0b61471d08e69b6bbb22a2f2f75
x86/kvm/hyper-v: Introduce nested_get_evmcs_version() helper

The upcoming KVM_GET_SUPPORTED_HV_CPUID ioctl will need to return
Enlightened VMCS version in HYPERV_CPUID_NESTED_FEATURES.EAX when
it was enabled.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx/evmcs.c
arch/x86/kvm/vmx/evmcs.h
arch/x86/kvm/vmx/nested.c