]> git.baikalelectronics.ru Git - kernel.git/commit
x86/kvm/hyper-v: recommend using eVMCS only when it is enabled
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 25 Jan 2019 11:19:34 +0000 (12:19 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 25 Jan 2019 18:11:25 +0000 (19:11 +0100)
commit8d543c890c3e99d36246f67a2691c846b6bbef0f
tree36bb3a0161b43dd803c9363df0f3beb9b30100d6
parente3a07e4aa60aac1ad0580b2d8ebebc8b0c838d7e
x86/kvm/hyper-v: recommend using eVMCS only when it is enabled

We shouldn't probably be suggesting using Enlightened VMCS when it's not
enabled (not supported from guest's point of view). Hyper-V on KVM seems
to be fine either way but let's be consistent.

Fixes: a8e7924b141f ("x86/kvm/hyper-v: Introduce KVM_GET_SUPPORTED_HV_CPUID")
Reviewed-by: Liran Alon <liran.alon@oracle.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/hyperv.c