commit | 3200f405a1e8e06c8634f11d33614455baa4e6be | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <marcelo@kvack.org> | Sat Mar 29 20:17:59 2008 -0300 |
committer | Avi Kivity <avi@qumranet.com> | Sun Apr 27 12:00:52 2008 +0300 |
tree | 806116d2495dd7fd93b5c0db98a72fe4fa854787 | |
parent | 25c5f225beda4fbea878ed8b6203ab4ecc7de2d1 [diff] |
KVM: MMU: unify slots_lock usage Unify slots_lock acquision around vcpu_run(). This is simpler and less error-prone. Also fix some callsites that were not grabbing the lock properly. [avi: drop slots_lock while in guest mode to avoid holding the lock for indefinite periods] Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@qumranet.com>