aboutsummaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorGravatar Peter Xu <peterx@redhat.com> 2020-01-09 09:57:16 -0500
committerGravatar Paolo Bonzini <pbonzini@redhat.com> 2020-01-27 19:59:53 +0100
commit6a3c623ba8a842f895e80a7fa0feb94b7b4368f2 (patch)
tree1805da9fd12c36337dbedd046b924012e31ad324 /virt
parentKVM: X86: Don't take srcu lock in init_rmode_identity_map() (diff)
downloadlinux-6a3c623ba8a842f895e80a7fa0feb94b7b4368f2.tar.gz
linux-6a3c623ba8a842f895e80a7fa0feb94b7b4368f2.tar.bz2
linux-6a3c623ba8a842f895e80a7fa0feb94b7b4368f2.zip
KVM: X86: Drop x86_set_memory_region()
The helper x86_set_memory_region() is only used in vmx_set_tss_addr() and kvm_arch_destroy_vm(). Push the lock upper in both cases. With that, drop x86_set_memory_region(). This prepares to allow __x86_set_memory_region() to return a HVA mapped, because the HVA will need to be protected by the lock too even after __x86_set_memory_region() returns. Signed-off-by: Peter Xu <peterx@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions