Skip to content

char, virtio_console: Allow chardevs to be re-used

Amit Shah qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2virtio-console: Keep chardev open for other users after hot-unplughw/virtio-console.c+5 -10 replies
2/2char: Prevent multiple devices opening same chardevhw/qdev-properties.c qemu-char.c qemu-char.h+11 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] char, virtio_console: Allow chardevs to be re-used

This series does two things:
- prevents a single chardev to be used by multiple devices at the same time
- virtio-console/serial ports don't close a chardev, instead free it for later use by other devices (or a new hot-plugged virtio serial port).

Please apply.

Amit Shah (2):
virtio-console: Keep chardev open for other users after hot-unplug
char: Prevent multiple devices opening same chardev

 hw/qdev-properties.c |    7 ++++++-
 hw/virtio-console.c  |    6 +++++-
 qemu-char.c          |    4 ++++
 qemu-char.h          |    1 +
 4 files changed, 16 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.4