virtio: console: Fill ports' entire in_vq with buffers
authorAmit Shah <amit.shah@redhat.com>
Fri, 12 Feb 2010 05:02:18 +0000 (10:32 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:53:06 +0000 (14:23 +1030)
commitd6933561924d8022f5d986ce7c511a2646eeadce
tree8e0a0c86a079400df7919f80194289258b7f5144
parent22a29eacd2a17f22c8260a8106a4e36bae7fb6ea
virtio: console: Fill ports' entire in_vq with buffers

Instead of allocating just one buffer for a port's in_vq, fill
the entire in_vq with buffers so the host need not stall while
an application consumes the data and makes the buffer available
again for the host.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c