<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/virt, branch v2.6.33-rt7</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v2.6.33-rt7</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v2.6.33-rt7'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2010-02-24T16:35:13+00:00</updated>
<entry>
<title>kvm: make_all_cpus_request() needs preempt_disable() on RT</title>
<updated>2010-02-24T16:35:13+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2010-02-24T16:28:10+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=5f0028625b529f647e747d043ebde087be60e5b7'/>
<id>urn:sha1:5f0028625b529f647e747d043ebde087be60e5b7</id>
<content type='text'>
smp_call_function_many() needs to be called with preemption disabled,
but on RT spin_lock(&amp;kvm-&gt;requests_lock) is not doing that.

Explicitely disable preemption on RT for the smp_call_function_many()
call.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
<entry>
<title>Forward to 2.6.33-rc8</title>
<updated>2010-02-21T19:17:22+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2010-02-21T19:17:22+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=5f854cfc024622e4aae14d7cf422f6ff86278688'/>
<id>urn:sha1:5f854cfc024622e4aae14d7cf422f6ff86278688</id>
<content type='text'>
Merge branch 'linus' into rt/head with a pile of conflicts.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
<entry>
<title>KVM: fix spurious interrupt with irqfd</title>
<updated>2010-01-25T14:26:39+00:00</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2010-01-13T17:12:30+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=b6a114d27273c37cd0107b0f49af208168498f05'/>
<id>urn:sha1:b6a114d27273c37cd0107b0f49af208168498f05</id>
<content type='text'>
kvm didn't clear irqfd counter on deassign, as a result we could get a
spurious interrupt when irqfd is assigned back. this leads to poor
performance and, in theory, guest crash.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: properly check max PIC pin in irq route setup</title>
<updated>2010-01-25T14:26:38+00:00</updated>
<author>
<name>Marcelo Tosatti</name>
<email>mtosatti@redhat.com</email>
</author>
<published>2010-01-12T18:42:09+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=d72118cecabbb76b96b77107a50c74d1bb36c0c1'/>
<id>urn:sha1:d72118cecabbb76b96b77107a50c74d1bb36c0c1</id>
<content type='text'>
Otherwise memory beyond irq_states[16] might be accessed.

Noticed by Juan Quintela.

Cc: stable@kernel.org
Signed-off-by: Marcelo Tosatti &lt;mtosatti@redhat.com&gt;
Acked-by: Juan Quintela &lt;quintela@redhat.com&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: only allow one gsi per fd</title>
<updated>2010-01-25T14:26:37+00:00</updated>
<author>
<name>Michael S. Tsirkin</name>
<email>mst@redhat.com</email>
</author>
<published>2010-01-13T16:58:09+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=f1d1c309f35e9b0fb961cffd70fbd04f450ec47c'/>
<id>urn:sha1:f1d1c309f35e9b0fb961cffd70fbd04f450ec47c</id>
<content type='text'>
Looks like repeatedly binding same fd to multiple gsi's with irqfd can
use up a ton of kernel memory for irqfd structures.

A simple fix is to allow each fd to only trigger one gsi: triggering a
storm of interrupts in guest is likely useless anyway, and we can do it
by binding a single gsi to many interrupts if we really want to.

Cc: stable@kernel.org
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Acked-by: Acked-by: Gregory Haskins &lt;ghaskins@novell.com&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: get rid of kvm_create_vm() unused label warning on s390</title>
<updated>2009-12-27T15:36:34+00:00</updated>
<author>
<name>Heiko Carstens</name>
<email>heiko.carstens@de.ibm.com</email>
</author>
<published>2009-12-18T08:41:43+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=b4329db0d7fd5a233866e799ad3bae8639e90c71'/>
<id>urn:sha1:b4329db0d7fd5a233866e799ad3bae8639e90c71</id>
<content type='text'>
arch/s390/kvm/../../../virt/kvm/kvm_main.c: In function 'kvm_create_vm':
arch/s390/kvm/../../../virt/kvm/kvm_main.c:409: warning: label 'out_err' defined but not used

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
<entry>
<title>KVM: Fix possible circular locking in kvm_vm_ioctl_assign_device()</title>
<updated>2009-12-27T15:36:31+00:00</updated>
<author>
<name>Sheng Yang</name>
<email>sheng@linux.intel.com</email>
</author>
<published>2009-12-15T02:28:07+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.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>anonfd: Allow making anon files read-only</title>
<updated>2009-12-22T17:27:34+00:00</updated>
<author>
<name>Roland Dreier</name>
<email>rdreier@cisco.com</email>
</author>
<published>2009-12-18T17:41:24+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=628ff7c1d8d8466a5ad8078bd0206a130f8b8a51'/>
<id>urn:sha1:628ff7c1d8d8466a5ad8078bd0206a130f8b8a51</id>
<content type='text'>
It seems a couple places such as arch/ia64/kernel/perfmon.c and
drivers/infiniband/core/uverbs_main.c could use anon_inode_getfile()
instead of a private pseudo-fs + alloc_file(), if only there were a way
to get a read-only file.  So provide this by having anon_inode_getfile()
create a read-only file if we pass O_RDONLY in flags.

Signed-off-by: Roland Dreier &lt;rolandd@cisco.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>Merge commit 'origin/master' into next</title>
<updated>2009-12-09T06:14:38+00:00</updated>
<author>
<name>Benjamin Herrenschmidt</name>
<email>benh@kernel.crashing.org</email>
</author>
<published>2009-12-09T06:14:38+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=bcd6acd51f3d4d1ada201e9bc5c40a31d6d80c71'/>
<id>urn:sha1:bcd6acd51f3d4d1ada201e9bc5c40a31d6d80c71</id>
<content type='text'>
Conflicts:
	include/linux/kvm.h
</content>
</entry>
<entry>
<title>KVM: Allow internal errors reported to userspace to carry extra data</title>
<updated>2009-12-03T07:32:24+00:00</updated>
<author>
<name>Avi Kivity</name>
<email>avi@redhat.com</email>
</author>
<published>2009-11-04T09:54:59+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=a9c7399d6cda0a092b347f8ee49bbe44f6e1fe66'/>
<id>urn:sha1:a9c7399d6cda0a092b347f8ee49bbe44f6e1fe66</id>
<content type='text'>
Usually userspace will freeze the guest so we can inspect it, but some
internal state is not available.  Add extra data to internal error
reporting so we can expose it to the debugger.  Extra data is specific
to the suberror.

Signed-off-by: Avi Kivity &lt;avi@redhat.com&gt;
</content>
</entry>
</feed>
