]> git.proxmox.com Git - qemu.git/commit
virtio-serial: Let virtio-serial-bus know if all data was consumed
authorAmit Shah <amit.shah@redhat.com>
Mon, 13 Dec 2010 12:20:07 +0000 (17:50 +0530)
committerAmit Shah <amit.shah@redhat.com>
Thu, 20 Jan 2011 09:08:22 +0000 (14:38 +0530)
commite300ac275bbf19b31cf5968b8de8abe52c26e163
tree7618fc55554a93b58b604d6abf3463bfd672882b
parent471344db88cc3e7adf7664aa34d54ce0cacc3419
virtio-serial: Let virtio-serial-bus know if all data was consumed

The have_data() API to hand off guest data to apps using virtio-serial
so far assumed all the data was consumed.  Relax this assumption.
Future commits will allow for incomplete writes.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
hw/virtio-console.c
hw/virtio-serial.h