virtio-serial-bus: bump up control vq size to 32
commita01a9cb821a29852abb142ec52b26c8488ced6e8
authorAmit Shah <amit.shah@redhat.com>
Tue, 23 Nov 2010 11:31:15 +0000 (23 17:01 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 12 Jan 2011 15:55:30 +0000 (12 17:55 +0200)
treed8214953bd37f5b715e6977e0753c3b3f7721f7f
parentc2e08bddcd1fa32415c0ee5aa6d3c88a258db4c0
virtio-serial-bus: bump up control vq size to 32

The current default of 16 buffers for the control vq is too small.  We
can get more entries in there, for example when asking the guest to add
max. allowed ports.

Note: a more robust solution would involve some kind of event queueing
in host to guarantee no event loss. Added a TODO to look into
this later.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio-serial-bus.c