[Qemu-devel] [PATCH 00/22] chardev clean-ups & tests

Marc-André Lureau posted 22 patches 7 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170202145141.17138-1-marcandre.lureau@redhat.com
Test checkpatch passed
Test docker passed
Test s390x passed
There is a newer version of this series
chardev/char-mux.h    |   2 +-
include/sysemu/char.h |  12 +-
block/qcow2.c         |   4 +-
chardev/char-mux.c    |  11 +-
chardev/char-pty.c    |   2 +-
chardev/char-socket.c |  46 ++++++-
chardev/char-udp.c    |  26 ++--
chardev/char.c        | 161 +++++++++++------------
gdbstub.c             |   2 +-
hw/bt/hci-csr.c       |   2 +-
qom/container.c       |   1 +
tests/test-char.c     | 358 +++++++++++++++++++++++++++++++++++++++++++++++++-
ui/console.c          |   2 +-
ui/gtk.c              |   2 +-
vl.c                  |   2 +-
xen-common.c          |   2 +-
16 files changed, 510 insertions(+), 125 deletions(-)
[Qemu-devel] [PATCH 00/22] chardev clean-ups & tests
Posted by Marc-André Lureau 7 years, 1 month ago
Hi,

The following series contains various patches:
- chardev and other clean-ups
- replace "chardevs" list for a /chardevs container object
- add a few read-only socket properties mainly useful for testing
- add various chardev tests

This series is part of a larger refactoring series that I try to keep
up to date here: https://github.com/elmarco/qemu/commits/chrfe

Marc-André Lureau (22):
  char: remove qemu_chr_be_generic_open
  mux: simplfy muxes_realize_done
  xen: use a better chardev type check
  container: don't leak container reference
  main: free root container
  char: add a /chardevs container
  char: use /chardevs container instead of chardevs list
  char: remove qemu_chardev_add
  char: remove chardevs list
  char: useless NULL check
  qcow2: remove useless NULL check
  char-socket: introduce update_disconnected_filename()
  char-socket: update local address after listen
  char-socket: add 'addr' property
  char-socket: add 'connected' property
  char-udp: flush as much buffer as possible
  tests: add alias check in /char/ringbuf
  tests: add /char/pipe test
  tests: add /char/file test
  tests: add /char/socket test
  tests: add /char/udp test
  tests: add /char/console test

 chardev/char-mux.h    |   2 +-
 include/sysemu/char.h |  12 +-
 block/qcow2.c         |   4 +-
 chardev/char-mux.c    |  11 +-
 chardev/char-pty.c    |   2 +-
 chardev/char-socket.c |  46 ++++++-
 chardev/char-udp.c    |  26 ++--
 chardev/char.c        | 161 +++++++++++------------
 gdbstub.c             |   2 +-
 hw/bt/hci-csr.c       |   2 +-
 qom/container.c       |   1 +
 tests/test-char.c     | 358 +++++++++++++++++++++++++++++++++++++++++++++++++-
 ui/console.c          |   2 +-
 ui/gtk.c              |   2 +-
 vl.c                  |   2 +-
 xen-common.c          |   2 +-
 16 files changed, 510 insertions(+), 125 deletions(-)

-- 
2.11.0.295.gd7dffce1c.dirty