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

Philippe Mathieu-Daudé posted 7 patches 4 years ago
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
Test checkpatch passed
Test FreeBSD passed
Test asan passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200423202112.644-1-philmd@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Markus Armbruster <armbru@redhat.com>
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
[PATCH 0/7] chardev: Reduce system emulation specific code
Posted by Philippe Mathieu-Daudé 4 years ago
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

-- 
2.21.1


Re: [PATCH 0/7] chardev: Reduce system emulation specific code
Posted by Richard Henderson 4 years ago
On 4/23/20 1:21 PM, Philippe Mathieu-Daudé wrote:
> 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

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~