virtio: console: Wake up outvq on host notifications
authorAmit Shah <amit.shah@redhat.com>
Mon, 31 Jan 2011 07:36:36 +0000 (13:06 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 8 Feb 2011 21:49:53 +0000 (08:19 +1030)
commit2770c5ea501be69989a7acf54ec4cb3554c47191
tree47c637a8e1dd803b6df7bd34ab30ea9a8f805a18
parentafe8a887550f7cc24eb16449670b93f6b43c32d8
virtio: console: Wake up outvq on host notifications

The outvq needs to be woken up on host notifications so that buffers
consumed by the host can be reclaimed, outvq freed, and application
writes may proceed again.

The need for this is now finally noticed when I have qemu patches ready
to use nonblocking IO and flow control.

CC: Hans de Goede <hdegoede@redhat.com>
CC: stable@kernel.org
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Hans de Goede <hdegoede@redhat.com>
drivers/tty/hvc/virtio_console.c