Re: [PATCH] virtio: console: Don't block entire guest if host doesn't read data

2010-10-19 Thread Hans de Goede
Hi, On 10/19/2010 07:45 AM, Amit Shah wrote: If the host is slow in reading data or doesn't read data at all, blocking write calls not only blocked the program that called write() but the entire guest itself. To overcome this, let's not block till the host signals it has given back the

Re: [PATCH] virtio: console: Don't block entire guest if host doesn't read data

2010-10-19 Thread Hans de Goede
Hi, Ok replying to my own reply, because I misread the code. On 10/19/2010 08:55 AM, Hans de Goede wrote: Hi, On 10/19/2010 07:45 AM, Amit Shah wrote: If the host is slow in reading data or doesn't read data at all, blocking write calls not only blocked the program that called write() but

Re: [PATCH] virtio: console: Don't block entire guest if host doesn't read data

2010-10-19 Thread Amit Shah
On (Tue) Oct 19 2010 [08:55:16], Hans de Goede wrote: Hi, On 10/19/2010 07:45 AM, Amit Shah wrote: If the host is slow in reading data or doesn't read data at all, blocking write calls not only blocked the program that called write() but the entire guest itself. To overcome this, let's

Re: [PATCH] virtio: console: Don't block entire guest if host doesn't read data

2010-10-19 Thread Amit Shah
On (Tue) Oct 19 2010 [08:57:43], Hans de Goede wrote: Hi, Ok replying to my own reply, because I misread the code. On 10/19/2010 08:55 AM, Hans de Goede wrote: Hi, On 10/19/2010 07:45 AM, Amit Shah wrote: If the host is slow in reading data or doesn't read data at all, blocking write

Re: [PATCH] virtio: console: Don't block entire guest if host doesn't read data

2010-10-19 Thread Amit Shah
On (Tue) Oct 19 2010 [09:23:00], Hans de Goede wrote: 3) This patch will cause processes filling the virtqueue fast enough to block to never wake up again, due to a missing waitqueue wakeup, see: https://bugzilla.redhat.com/show_bug.cgi?id=643750 Doesn't happen in my testcase, but

Re: [PATCH] virtio: console: Don't block entire guest if host doesn't read data

2010-10-19 Thread Hans de Goede
Hi, On 10/19/2010 09:32 AM, Amit Shah wrote: On (Tue) Oct 19 2010 [09:23:00], Hans de Goede wrote: 3) This patch will cause processes filling the virtqueue fast enough to block to never wake up again, due to a missing waitqueue wakeup, see:

[GIT PULL net-2.6] vhost-net: access_ok fix

2010-10-19 Thread Michael S. Tsirkin
David, Not sure if it's too late for 2.6.36 - in case it's not, the following tree includes a last minute bugfix for vhost-net, found by code inspection. It is on top of net-2.6. Thanks! The following changes since commit b0057c51db66c5f0f38059f242c57d61c4741d89: tg3: restore rx_dropped

KVM Forum 2010: videos online [was Re: KVM Forum 2010: presentations online]

2010-10-19 Thread Chris Wright
* Chris Wright (chr...@redhat.com) wrote: We were also able to video the speakers, and will send a note when the videos are available. (and thanks again to Andrew Cathrow for making this happen) I don't think a note went out yet. The videos are available as well. thanks, -chris

Re: xen PV on HVM and initial domain merge in linux-next

2010-10-19 Thread Stephen Rothwell
to a misunderstanding on the part of some of the Xen community. Also, the above tree is based on next-20101019 which means that I cannot use it as is. All the trees merged into linux-next must be base on some other stable tree (almost always Linus' tree). linux-next is rebuilt from scratch every day, so I

virtio: console: Don't block entire guest if host doesn't read data

2010-10-19 Thread Rusty Russell
From: Amit Shah amit.s...@redhat.com If the host is slow in reading data or doesn't read data at all, blocking write calls not only blocked the program that called write() but the entire guest itself. To overcome this, let's not block till the host signals it has given back the virtio ring