commit | 69c9dfa24bb7bac5c9e2bd4d3f631e35b91e3733 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed May 13 12:57:26 2020 -0400 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Jun 01 04:24:32 2020 -0400 |
tree | 8b0a08cbf4bce6840707ddbf717f76d5c716899e | |
parent | df7e0681dd8acfa8d07816eaef232ded816d8a8c [diff] |
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: Paolo Bonzini <pbonzini@redhat.com>