qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/9] chardevice hotswap
@ 2017-05-19 12:47 Anton Nefedov
  2017-05-19 12:47 ` [Qemu-devel] [PATCH v2 1/9] char: move QemuOpts->ChardevBackend translation to a separate func Anton Nefedov
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Anton Nefedov @ 2017-05-19 12:47 UTC (permalink / raw)
  To: qemu-devel; +Cc: den, pbonzini, marcandre.lureau, Anton Nefedov

This serie is a v2 of the February submit
http://lists.nongnu.org/archive/html/qemu-devel/2017-02/msg01989.html

The interface is changed as requested and the changes are slightly reworked
and split into separate patches.

========

The patchset adds support of the character device change without
a frontend device removal.
Yet isa-serial and virtio-serial frontends are supported.

The feature can be helpful for e.g. Windows debug allowing to
establish connection to a live VM from VM with WinDbg.

Anton Nefedov (9):
  char: move QemuOpts->ChardevBackend translation to a separate func
  char: add backend hotswap handler
  char: chardevice hotswap
  hmp: add hmp analogue for qmp-chardev-change
  char: forbid direct chardevice access for hotswap devices
  virtio-console: chardev hotswap support
  serial: move TIOCM update to a separate function
  serial: chardev hotswap support
  char: avoid chardevice direct access

 backends/rng-egd.c          |   2 +-
 chardev/char-mux.c          |   1 +
 chardev/char.c              | 235 +++++++++++++++++++++++++++++++++++++-------
 gdbstub.c                   |   4 +-
 hmp-commands.hx             |  16 +++
 hmp.c                       |  34 +++++++
 hmp.h                       |   1 +
 hw/arm/pxa2xx.c             |   3 +-
 hw/arm/strongarm.c          |   4 +-
 hw/char/bcm2835_aux.c       |   2 +-
 hw/char/cadence_uart.c      |   4 +-
 hw/char/debugcon.c          |   4 +-
 hw/char/digic-uart.c        |   2 +-
 hw/char/escc.c              |   8 +-
 hw/char/etraxfs_ser.c       |   2 +-
 hw/char/exynos4210_uart.c   |   4 +-
 hw/char/grlib_apbuart.c     |   4 +-
 hw/char/imx_serial.c        |   2 +-
 hw/char/ipoctal232.c        |   4 +-
 hw/char/lm32_juart.c        |   2 +-
 hw/char/lm32_uart.c         |   2 +-
 hw/char/mcf_uart.c          |   2 +-
 hw/char/milkymist-uart.c    |   2 +-
 hw/char/parallel.c          |   2 +-
 hw/char/pl011.c             |   2 +-
 hw/char/sclpconsole-lm.c    |   4 +-
 hw/char/sclpconsole.c       |   4 +-
 hw/char/serial.c            |  63 +++++++++---
 hw/char/sh_serial.c         |   4 +-
 hw/char/spapr_vty.c         |   4 +-
 hw/char/stm32f2xx_usart.c   |   3 +-
 hw/char/terminal3270.c      |   4 +-
 hw/char/virtio-console.c    |  35 ++++++-
 hw/char/xen_console.c       |   4 +-
 hw/char/xilinx_uartlite.c   |   2 +-
 hw/ipmi/ipmi_bmc_extern.c   |   4 +-
 hw/mips/boston.c            |   2 +-
 hw/mips/mips_malta.c        |   2 +-
 hw/misc/ivshmem.c           |   6 +-
 hw/usb/ccid-card-passthru.c |   6 +-
 hw/usb/dev-serial.c         |   7 +-
 hw/usb/redirect.c           |   7 +-
 include/sysemu/char.h       |  44 +++++++++
 monitor.c                   |   4 +-
 net/colo-compare.c          |  14 +--
 net/filter-mirror.c         |   8 +-
 net/slirp.c                 |   2 +-
 net/vhost-user.c            |   7 +-
 qapi-schema.json            |  40 ++++++++
 qtest.c                     |   2 +-
 tests/test-char.c           |  14 ++-
 tests/vhost-user-test.c     |   2 +-
 52 files changed, 506 insertions(+), 140 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2017-05-25 17:45 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-19 12:47 [Qemu-devel] [PATCH v2 0/9] chardevice hotswap Anton Nefedov
2017-05-19 12:47 ` [Qemu-devel] [PATCH v2 1/9] char: move QemuOpts->ChardevBackend translation to a separate func Anton Nefedov
2017-05-25 14:29   ` Marc-André Lureau
2017-05-19 12:47 ` [Qemu-devel] [PATCH v2 2/9] char: add backend hotswap handler Anton Nefedov
2017-05-25 14:32   ` Marc-André Lureau
2017-05-19 12:47 ` [Qemu-devel] [PATCH v2 3/9] char: chardevice hotswap Anton Nefedov
2017-05-25 14:29   ` Marc-André Lureau
2017-05-25 17:44     ` Anton Nefedov
2017-05-19 12:47 ` [Qemu-devel] [PATCH v2 4/9] hmp: add hmp analogue for qmp-chardev-change Anton Nefedov
2017-05-19 12:47 ` [Qemu-devel] [PATCH v2 5/9] char: forbid direct chardevice access for hotswap devices Anton Nefedov
2017-05-25 14:31   ` Marc-André Lureau
2017-05-19 12:47 ` [Qemu-devel] [PATCH v2 6/9] virtio-console: chardev hotswap support Anton Nefedov
2017-05-19 12:47 ` [Qemu-devel] [PATCH v2 7/9] serial: move TIOCM update to a separate function Anton Nefedov
2017-05-25 14:36   ` Marc-André Lureau
2017-05-19 12:47 ` [Qemu-devel] [PATCH v2 8/9] serial: chardev hotswap support Anton Nefedov
2017-05-19 12:47 ` [Qemu-devel] [PATCH v2 9/9] char: avoid chardevice direct access Anton Nefedov
2017-05-25 14:32   ` Marc-André Lureau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).