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(-) -- 1.7.4