commit | 108b56690f35e083c5559116d6656f59a557a815 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Mon Jun 29 22:24:21 2009 +0300 |
committer | Avi Kivity <avi@redhat.com> | Thu Sep 10 08:33:05 2009 +0300 |
tree | 64e5af9be0b4ebda257ea30ba8955cf0b3c96509 | |
parent | d5c2dcc36aaf4dfdf9e01513493c71d71715f817 [diff] |
KVM: switch pit creation to slots_lock switch pit creation to slots_lock. slots_lock is already taken for read everywhere, so we only need to take it for write when creating pit. 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>