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

KVM: nSVM: move map argument out of enter_svm_guest_mode



Unmapping the nested VMCB in enter_svm_guest_mode is a bit of a wart,
since the map argument is not used elsewhere in the function.  There are
just two callers, and those are also the place where kvm_vcpu_map is
called, so it is cleaner to unmap there.

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