[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 00/40] chardev: qom clean-up and split in various ba
From: |
Marc-André Lureau |
Subject: |
[Qemu-devel] [PATCH 00/40] chardev: qom clean-up and split in various backend files |
Date: |
Wed, 11 Jan 2017 18:29:16 +0100 |
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é 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
--
2.11.0
- [Qemu-devel] [PATCH 00/40] chardev: qom clean-up and split in various backend files,
Marc-André Lureau <=
- [Qemu-devel] [PATCH 01/40] spice-qemu-char: convert to finalize, Marc-André Lureau, 2017/01/11
- [Qemu-devel] [PATCH 02/40] baum: convert to finalize, Marc-André Lureau, 2017/01/11
- [Qemu-devel] [PATCH 03/40] msmouse: convert to finalize, Marc-André Lureau, 2017/01/11
- [Qemu-devel] [PATCH 04/40] mux: convert to finalize, Marc-André Lureau, 2017/01/11
- [Qemu-devel] [PATCH 05/40] char-udp: convert to finalize, Marc-André Lureau, 2017/01/11
- [Qemu-devel] [PATCH 07/40] char-pty: convert to finalize, Marc-André Lureau, 2017/01/11
- [Qemu-devel] [PATCH 06/40] char-socket: convert to finalize, Marc-André Lureau, 2017/01/11
- [Qemu-devel] [PATCH 08/40] char-ringbuf: convert to finalize, Marc-André Lureau, 2017/01/11