From: Michael S. Tsirkin Date: Mon, 29 Jun 2009 19:24:26 +0000 (+0300) Subject: KVM: convert bus to slots_lock X-Git-Tag: v2.6.32-rc1~693^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c474694530f377507f9aca438c17206e051e6e7;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed