Skip to content
Commit b4b65b56 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: x86: cleanup freeing of nested state



Ensure that the VCPU free path goes through vmx_leave_nested and
thus nested_vmx_vmexit, so that the cancellation of the timer does
not have to be in free_nested.  In addition, because some paths through
nested_vmx_vmexit do not go through sync_vmcs12, the cancellation of
the timer is moved there.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 81b01667
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment