diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2009-06-29 22:24:26 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-07-01 11:08:56 +0300 |
commit | dfbd80d359996d1a56a1de8bc01529edd0314b46 (patch) | |
tree | 980bdff0a81178c6c356e761311f3330058c1527 /virt/kvm/coalesced_mmio.c | |
parent | 222be3a8302a08bcd1bb3b8016390633280c4dc7 (diff) |
KVM: convert bus to slots_lock
Use slots_lock to protect device list on the bus. slots_lock is already
taken for read everywhere, so we only need to take it for write when
registering devices. This is in preparation to removing in_range and
kvm->lock around it.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt/kvm/coalesced_mmio.c')
0 files changed, 0 insertions, 0 deletions