Changes from Anthony's earlier series: * Added patch 20 that makes flow control explicit in virtio-console * Fixed compile error in patch 13, "qemu-char: make char drivers dynamically registerable", which had a wrong 'fix' in unrelated patch 16. * rebased to master
Please apply. Orig. message from Anthony for this series: This series implements an idea from Paolo to introduce flow control in the char layer by converting all char backends to use GIOChannels internally. Then we can just use the existing IO watch support in glib to implement flow control. This is based on a rebased version of an old series of mine plus a number of improvements from Amit Shah. Amit Shah (3): char: add gio watch fn for tcp backends virtio: console: add flow control virtio-serial: make flow control explicit in virtio-console Anthony Liguori (17): char-socket: fix error reporting qemu-char: remove dead/confusing logic with nb_stdio_clients char: add IOWatchPoll support qemu-char: convert fd_chr to use a GIOChannel qemu-char: convert pty to GIOChannel qemu-char: convert UDP to GIOChannel qemu-char: tcp: make use GIOChannel qemu-char: add watch support qemu-char: add pty watch qemu-char: use a glib timeout instead of qemu-timer qemu-char: remove use of QEMUTimer in favor of glib idle function qemu-char: make char drivers dynamically registerable qemu-char: move spice registration to spice-qemu-char.c qemu-char: move baum registration to baum.c qemu-char: move msmouse registeration to msmouse.c qemu-char: move text console init to console.c serial: add flow control to transmit hw/baum.c | 9 +- hw/baum.h | 30 -- hw/msmouse.c | 10 +- hw/msmouse.h | 7 - hw/serial.c | 28 +- hw/serial.h | 2 - hw/virtio-console.c | 28 +- hw/virtio-serial-bus.c | 19 +- include/char/char.h | 8 +- qemu-char.c | 763 ++++++++++++++++++++++++++++++++----------------- spice-qemu-char.c | 10 + ui/console.c | 7 + util/qemu-sockets.c | 4 + vl.c | 1 - 14 files changed, 578 insertions(+), 348 deletions(-) delete mode 100644 hw/baum.h delete mode 100644 hw/msmouse.h -- 1.8.1.2