Skip to content
Commit bc6678a3 authored by Marcelo Tosatti's avatar Marcelo Tosatti
Browse files

KVM: introduce kvm->srcu and convert kvm_set_memory_region to SRCU update



Use two steps for memslot deletion: mark the slot invalid (which stops
instantiation of new shadow pages for that slot, but allows destruction),
then instantiate the new empty slot.

Also simplifies kvm_handle_hva locking.

Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
parent 3ad26d81
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