]> git.proxmox.com Git - qemu.git/commit
virtio-serial: make flow control explicit in virtio-console
authorAmit Shah <amit.shah@redhat.com>
Tue, 5 Mar 2013 17:51:35 +0000 (23:21 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 8 Mar 2013 19:57:17 +0000 (13:57 -0600)
commitd6258c93a7133bb2bf2ab4e91476bc0b631ba7f1
tree3d39d63cd3bec77c6a3485be24f736b81c610956
parent7df4d4578f70b565870f353ba0b72f2f23781a09
virtio-serial: make flow control explicit in virtio-console

virtio-console.c used to return a value less than the number of bytes
asked to be written out to a chardev backend in case the backend is not
writable.  virtio-serial-bus.c then implicitly enabled flow control for
that port.

Make this explicit instead.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Message-id: f5ec50b068c25422256e499cf4adc06d353bf394.1362505276.git.amit.shah@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-console.c
hw/virtio-serial-bus.c