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>
Showing
- arch/x86/include/asm/kvm_host.h 1 addition, 0 deletionsarch/x86/include/asm/kvm_host.h
- arch/x86/kvm/svm.c 7 additions, 0 deletionsarch/x86/kvm/svm.c
- arch/x86/kvm/vmx/evmcs.c 16 additions, 7 deletionsarch/x86/kvm/vmx/evmcs.c
- arch/x86/kvm/vmx/evmcs.h 1 addition, 0 deletionsarch/x86/kvm/vmx/evmcs.h
- arch/x86/kvm/vmx/nested.c 1 addition, 0 deletionsarch/x86/kvm/vmx/nested.c
Loading
Please register or sign in to comment