diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-01-29 19:12:35 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-02-20 22:48:27 +0100 |
commit | b4b65b5642d6edd50e35a159f20e793dc478d686 (patch) | |
tree | 8febd9274be811ddf54782464a6129a3fa238485 /virt/kvm/vfio.c | |
parent | KVM: x86: Sync the pending Posted-Interrupts (diff) | |
download | linux-b4b65b5642d6edd50e35a159f20e793dc478d686.tar.xz linux-b4b65b5642d6edd50e35a159f20e793dc478d686.zip |
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: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm/vfio.c')
0 files changed, 0 insertions, 0 deletions