From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB2ba-0007da-2B for qemu-devel@nongnu.org; Mon, 21 Dec 2015 10:42:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aB2bW-0000f1-TA for qemu-devel@nongnu.org; Mon, 21 Dec 2015 10:42:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB2bW-0000eq-OK for qemu-devel@nongnu.org; Mon, 21 Dec 2015 10:42:30 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 3AF98C0B9300 for ; Mon, 21 Dec 2015 15:42:30 +0000 (UTC) From: "Daniel P. Berrange" Date: Mon, 21 Dec 2015 15:42:19 +0000 Message-Id: <1450712543-11629-1-git-send-email-berrange@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/4] Convert chardevs to QIOChannel & add TLS support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini 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 v1: https://lists.gnu.org/archive/html/qemu-devel/2015-11/msg04222.html 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 | 909 ++++++++++++++++++++++++++++--------------------------- qemu-options.hx | 9 +- tests/Makefile | 2 +- 4 files changed, 476 insertions(+), 446 deletions(-) -- 2.5.0