mbox series

[0/7] chardev: Reduce system emulation specific code

Message ID 20200423202112.644-1-philmd@redhat.com
Headers show
Series chardev: Reduce system emulation specific code | expand

Message

Philippe Mathieu-Daudé April 23, 2020, 8:21 p.m. UTC
chardev cleanup while reviewing 'Refactor machine_init and exit
notifiers' from the multi-process series:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg697510.html

Elena Ufimtseva (1):
  multi-process: Refactor machine_init and exit notifiers

Philippe Mathieu-Daudé (6):
  monitor/misc: Remove unused "chardev/char-mux.h" include
  tests/test-char: Remove unused "chardev/char-mux.h" include
  chardev: Restrict msmouse / wctablet / testdev to system emulation
  chardev: Reduce "char-mux.h" scope, rename it "chardev-internal.h"
  chardev: Extract system emulation specific code
  stubs: Split machine-init-done as machine-init and machine-notify

 Makefile.objs                                 |  1 +
 .../char-mux.h => chardev/chardev-internal.h  | 10 ++-
 include/sysemu/sysemu.h                       |  2 +
 chardev/char-fe.c                             |  2 +-
 chardev/char-mux.c                            |  2 +-
 chardev/char.c                                | 37 +---------
 chardev/chardev-sysemu.c                      | 69 +++++++++++++++++++
 monitor/misc.c                                |  1 -
 softmmu/vl.c                                  | 42 -----------
 stubs/machine-init.c                          |  4 ++
 .../{machine-init-done.c => machine-notify.c} |  6 +-
 tests/test-char.c                             |  1 -
 util/machine-notify.c                         | 69 +++++++++++++++++++
 MAINTAINERS                                   |  1 +
 chardev/Makefile.objs                         |  3 +-
 stubs/Makefile.objs                           |  3 +-
 16 files changed, 165 insertions(+), 88 deletions(-)
 rename include/chardev/char-mux.h => chardev/chardev-internal.h (93%)
 create mode 100644 chardev/chardev-sysemu.c
 create mode 100644 stubs/machine-init.c
 rename stubs/{machine-init-done.c => machine-notify.c} (63%)
 create mode 100644 util/machine-notify.c