virtio-serial: Fixes, flow control
Hello,
Please pull for fixes to the virtio-serial code:
- Don't copy over guest buffer to host (prevents potential DoS scenarios, pointed out by Paul Brook)
- Add support for flow control
- A couple of trivial fixes to virtio-console code
The patches were sent out to the list on 19 Jan 2011, subject "[PATCH 0/7] virtio-serial: Don't copy guest buf to host, flow control"
The following changes since commitb646968336d4180bdd7d2e24209708dcee6ba400:
checkpatch: adjust to QEMUisms (2011-01-20 20:58:56 +0000)
are available in the git repository at:
git://git.kernel.org/pub/scm/virt/qemu/amit/virtio-serial.git
for-anthony
Amit Shah (7):
virtio-console: Factor out common init between console and generic ports
virtio-console: Remove unnecessary braces
virtio-serial: move out discard logic in a separate function
virtio-serial: Don't copy over guest buffer to host
virtio-serial: Let virtio-serial-bus know if all data was consumed
virtio-serial: Add support for flow control
virtio-serial: save/restore new fields in port struct
hw/virtio-console.c | 38 +++++++-------- hw/virtio-serial-bus.c | 123 +++++++++++++++++++++++++++++++++++++++--------- hw/virtio-serial.h | 24 ++++++++- 3 files changed, 139 insertions(+), 46 deletions(-)
Amit