This is an update of patches previously shown in an RFC posting RFC: https://lists.gnu.org/archive/html/qemu-devel/2015-09/msg00829.html
This series depends on the previously posted series: "[PATCH v3 0/9] Introduce I/O channels framework" This short series converts the chardev backends to use the new QIOChannel framework. After doing so it then adds support for TLS encryption of TCP chardevs. The commit message in the last patch explains the TLS encryption in detail. The GIOChannel -> QIOChannel conversion has been validated by running the qtest framework, which indeed found a few bugs initially which I have since fixed. The TLS support has been tested for interoperability using the gnutls-serv and gnutls-client programs which provide stub TLS endpoints/clients respectively. Daniel P. Berrange (4): char: remove fixed length filename allocation char: convert from GIOChannel to QIOChannel char: don't assume telnet initialization will not block char: introduce support for TLS encrypted TCP chardev backend qapi-schema.json | 2 + qemu-char.c | 914 ++++++++++++++++++++++++++++--------------------------- qemu-options.hx | 9 +- 3 files changed, 474 insertions(+), 451 deletions(-) -- 2.5.0