]> git.itanic.dy.fi Git - linux-stable/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)
commitf1adceaf01f0446e69c15b32f24ce98e3c3623f1
tree36bb3a0161b43dd803c9363df0f3beb9b30100d6
parent1998fd32aa62fbf22cd1d8258e6a9deffd6bc466
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: 2bc39970e932 ("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