From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRMim-0000UX-Cm for qemu-devel@nongnu.org; Wed, 11 Jan 2017 12:30:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRMil-00069F-1s for qemu-devel@nongnu.org; Wed, 11 Jan 2017 12:30:00 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37035) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cRMik-000699-Po for qemu-devel@nongnu.org; Wed, 11 Jan 2017 12:29:58 -0500 Received: from smtp.corp.redhat.com (int-mx16.intmail.prod.int.phx2.redhat.com [10.5.11.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F1C113B74F for ; Wed, 11 Jan 2017 17:29:58 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Wed, 11 Jan 2017 18:29:16 +0100 Message-Id: <20170111172956.11255-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 00/40] chardev: qom clean-up and split in various backend files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, eblake@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Finish qom-ification by using instance finalizers and split the big qemu-char.c file in many backend-specific units. This is part of a larger refactoring series that I try to keep up to date= here: https://github.com/elmarco/qemu/commits/chrfe It is based after qom-ify v2 series. Marc-Andr=C3=A9 Lureau (40): spice-qemu-char: convert to finalize baum: convert to finalize msmouse: convert to finalize mux: convert to finalize char-udp: convert to finalize char-socket: convert to finalize char-pty: convert to finalize char-ringbuf: convert to finalize char-parallel: convert parallel to finalize char-stdio: convert to finalize char-win-stdio: convert to finalize char-win: do not override chr_free char-win: convert to finalize char-fd: convert to finalize char: remove chr_free char: get rid of CharDriver char: rename remaining CharDriver to Chardev char: remove class kind field char: move to chardev/ char: create chardev-obj-y char: make null_chr_write() the default method char: move null chardev to its own file char: move mux to its own file char: move ringbuf/memory to its own file char: rename and move to header CHR_READ_BUF_LEN char: remove unused READ_RETRIES char: move QIOChannel-related in char-io.h char: move fd chardev in its own file char: move win chardev base class in its own file char: move win-stdio into its own file char: move socket chardev to its own file char: move udp chardev in its own file char: move file chardev in its own file char: move stdio in its own file char: move console in its own file char: move pipe chardev in its own file char: move pty chardev in its own file char: move serial chardev to itw own file char: move parallel chardev in its own file char: headers clean-up chardev/char-fd.h | 21 + chardev/char-io.h | 24 + chardev/char-mux.h | 40 + chardev/char-parallel.h | 9 + chardev/char-serial.h | 12 + chardev/char-win-stdio.h | 6 + chardev/char-win.h | 30 + include/sysemu/char.h | 69 +- backends/baum.c | 11 +- backends/msmouse.c | 11 +- backends/testdev.c | 5 - chardev/char-console.c | 30 + chardev/char-fd.c | 147 ++ chardev/char-file.c | 116 ++ chardev/char-io.c | 168 ++ chardev/char-mux.c | 335 +++ chardev/char-null.c | 31 + chardev/char-parallel.c | 293 +++ chardev/char-pipe.c | 168 ++ chardev/char-pty.c | 277 +++ chardev/char-ringbuf.c | 226 ++ chardev/char-serial.c | 295 +++ chardev/char-socket.c | 993 +++++++++ chardev/char-stdio.c | 141 ++ chardev/char-udp.c | 210 ++ chardev/char-win-stdio.c | 243 +++ chardev/char-win.c | 242 +++ chardev/char.c | 1311 ++++++++++++ hmp.c | 1 + monitor.c | 1 + qemu-char.c | 5169 ----------------------------------------= ------ qmp.c | 1 + spice-qemu-char.c | 21 +- tests/vhost-user-test.c | 1 + ui/console.c | 10 +- ui/gtk.c | 9 +- MAINTAINERS | 2 +- Makefile | 3 +- Makefile.objs | 4 +- Makefile.target | 3 + chardev/Makefile.objs | 17 + tests/Makefile.include | 6 +- 42 files changed, 5441 insertions(+), 5271 deletions(-) create mode 100644 chardev/char-fd.h create mode 100644 chardev/char-io.h create mode 100644 chardev/char-mux.h create mode 100644 chardev/char-parallel.h create mode 100644 chardev/char-serial.h create mode 100644 chardev/char-win-stdio.h create mode 100644 chardev/char-win.h create mode 100644 chardev/char-console.c create mode 100644 chardev/char-fd.c create mode 100644 chardev/char-file.c create mode 100644 chardev/char-io.c create mode 100644 chardev/char-mux.c create mode 100644 chardev/char-null.c create mode 100644 chardev/char-parallel.c create mode 100644 chardev/char-pipe.c create mode 100644 chardev/char-pty.c create mode 100644 chardev/char-ringbuf.c create mode 100644 chardev/char-serial.c create mode 100644 chardev/char-socket.c create mode 100644 chardev/char-stdio.c create mode 100644 chardev/char-udp.c create mode 100644 chardev/char-win-stdio.c create mode 100644 chardev/char-win.c create mode 100644 chardev/char.c delete mode 100644 qemu-char.c create mode 100644 chardev/Makefile.objs --=20 2.11.0