]> 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)
commit0e4949a02c9844ed63b16dd9a8004febc604fc22
tree36bb3a0161b43dd803c9363df0f3beb9b30100d6
parent90bcbda7f506567d82c4aeb7bf6a93c76e039954
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: f74472cf3453 ("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