virtio-serial: Handle scatter/gather input from the guest
commite85ba9b2dce43d706e21135fc1bf21a30601c2cf
authorAmit Shah <amit.shah@redhat.com>
Tue, 27 Apr 2010 12:34:08 +0000 (27 18:04 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 28 Apr 2010 13:58:22 +0000 (28 08:58 -0500)
tree0db2713c4a892e6c8f6d5ade2bb4054de301dfff
parente61da14d60ba1cceacad8396adcb9662c7f690af
virtio-serial: Handle scatter/gather input from the guest

Current guests don't send more than one iov but it can change later.
Ensure we handle that case.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
CC: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-serial-bus.c