commit | bc6678a33d9b952981a8e44a4f876c3ad64ca4d8 | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Wed Dec 23 14:35:21 2009 -0200 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Mar 01 12:35:44 2010 -0300 |
tree | e26027179eb0d76f234509145a395dd6e5910074 | |
parent | 3ad26d8139a82b0510b1e0435ee82ae461d33401 [diff] |
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: Marcelo Tosatti <mtosatti@redhat.com>