]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: nVMX: KVM_SET_NESTED_STATE - Tear down old EVMCS state before setting new state
authorAaron Lewis <aaronlewis@google.com>
Thu, 2 May 2019 18:31:33 +0000 (11:31 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 May 2019 12:12:08 +0000 (14:12 +0200)
commit332d079735f5add26f4443cec2991ee03ed2ae19
tree5070c91d6fe765de28a9b299b239d67507d85a32
parent4b350aebbec80c7846f2908acb695ef029a04f64
KVM: nVMX: KVM_SET_NESTED_STATE - Tear down old EVMCS state before setting new state

Move call to nested_enable_evmcs until after free_nested() is complete.

Signed-off-by: Aaron Lewis <aaronlewis@google.com>
Reviewed-by: Marc Orr <marcorr@google.com>
Reviewed-by: Peter Shier <pshier@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c