summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/x86_64
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2019-01-17 18:12:09 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-01-25 19:11:37 +0100
commit3a2f5773baab34a9943be4c77e1ff2ac79d16c75 (patch)
treef2a613688f97c03a977911eef5a9c2fa2270f2a7 /tools/testing/selftests/kvm/x86_64
parent5ad6ece869d46c834976ce383ef200f9116881f8 (diff)
downloadlinux-3a2f5773baab34a9943be4c77e1ff2ac79d16c75.tar.bz2
x86/kvm/hyper-v: nested_enable_evmcs() sets vmcs_version incorrectly
Commit e2e871ab2f02 ("x86/kvm/hyper-v: Introduce nested_get_evmcs_version() helper") broke EVMCS enablement: to set vmcs_version we now call nested_get_evmcs_version() but this function checks enlightened_vmcs_enabled flag which is not yet set so we end up returning zero. Fix the issue by re-arranging things in nested_enable_evmcs(). Fixes: e2e871ab2f02 ("x86/kvm/hyper-v: Introduce nested_get_evmcs_version() helper") Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/x86_64')
0 files changed, 0 insertions, 0 deletions