Hi, This is an add-on patch to the series Anthony posted introducing flow control for chardevs.
The previous logic relied on a <= nr_bytes return to the 'write' function, which indicated a short write, triggering flow control in the virtio-serial-bus code. This change explicitly asks the virtio-serial-bus code to enable flow control for a particular port. All patches are at https://git.kernel.org/?p=virt/qemu/amit/virtio-serial.git Amit Shah (1): virtio-serial: make flow control explicit in virtio-console hw/virtio-console.c | 17 +++++++++-------- hw/virtio-serial-bus.c | 19 +------------------ 2 files changed, 10 insertions(+), 26 deletions(-) -- 1.8.1.2