Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
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