<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/virt/kvm/assigned-dev.c, branch linux-2.6.33.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.33.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-12-27T15:36:31Z</updated>
<entry>
<title>KVM: Fix possible circular locking in kvm_vm_ioctl_assign_device()</title>
<updated>2009-12-27T15:36:31Z</updated>
<author>
<name>Sheng Yang</name>
</author>
<published>2009-12-15T02:28:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fae3a3536a6fecedebd49fa847f810e599bfb132'/>
<id>urn:sha1:fae3a3536a6fecedebd49fa847f810e599bfb132</id>
<content type='text'>
One possible order is:

KVM_CREATE_IRQCHIP ioctl(took kvm-&gt;lock) -&gt; kvm_iobus_register_dev() -&gt;
down_write(kvm-&gt;slots_lock).

The other one is in kvm_vm_ioctl_assign_device(), which take kvm-&gt;slots_lock
first, then kvm-&gt;lock.

Update the comment of lock order as well.

Observe it due to kernel locking debug warnings.

Cc: stable@kernel.org
Signed-off-by: Sheng Yang &lt;sheng@linux.intel.com&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: Move assigned device code to own file</title>
<updated>2009-12-03T07:32:09Z</updated>
<author>
<name>Avi Kivity</name>
</author>
<published>2009-08-26T11:57:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bfd99ff5d483b11c32bca49fbff7a5ac59038b0a'/>
<id>urn:sha1:bfd99ff5d483b11c32bca49fbff7a5ac59038b0a</id>
<content type='text'>
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
</feed>
