|
From: | Amit Shah |
Subject: | [Qemu-devel] [PATCH 0/8] (v2) chardev, virtio-console: flow control, error handling, fixes |
Date: | Thu, 8 Apr 2010 02:32:28 +0530 |
Hello, This patchset introduces flow control to virtio-console and chardev-based virtio serial ports. This series is based on the previous series I sent on Mar 31st (00/17: v4: virtio-serial fixes, new abi for port discovery) The qemu chardevs can now return -EAGAIN when a non-blocking remote isn't ready to accept more data. Comments? Changes from v1: - Remove poll() usage - Add fixes for virtio-serial throttling Amit Shah (8): virtio-serial: throttling: check for throttled status before sending any data virtio-serial: Unthrottle ports once they're closed virtio-serial: Discard unconsumed data before sending port close event virtio-serial: Bus info message for showing port's throttled status char: Let writers know how much data was written in case of errors char: unix: For files that are nonblocking, report -EAGAIN to calling functions virtio-console: Factor out common init between console and generic ports virtio-console: Throttle virtio-serial-bus if we can't consume any more guest data hw/virtio-console.c | 156 ++++++++++++++++++++++++++++++++++++++++++------ hw/virtio-serial-bus.c | 23 +++++--- qemu-char.c | 21 ++++++- 3 files changed, 172 insertions(+), 28 deletions(-)
[Prev in Thread] | Current Thread | [Next in Thread] |