Skip to content

chardev/spice: fix missing spice mouse after migration

Alon Levy qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3virtio-serial: add virtio_serial_guest_connectedhw/virtio-serial-bus.c hw/virtio-serial.h+14 -00 replies
2/3qemu-char: add qemu_chr_be_connectedbackends/rng-egd.c gdbstub.c hw/ccid-card-passthru.c +13 more+53 -211 reply
3/3spice-qemu-char: register interface on post loadspice-qemu-char.c+34 -05 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/3] chardev/spice: fix missing spice mouse after migration

Adds a new char device backend callback to check connectedness, implemented for virtio console, and used by spice-char-dev in post migration.

Is using NULL for DeviceState the intention for non device vmstates? It works fine in practice.

Alon Levy (3):
virtio-serial: add virtio_serial_guest_connected
qemu-char: add qemu_chr_be_connected
spice-qemu-char: register interface on post load

 backends/rng-egd.c      |  4 ++--
 gdbstub.c               |  2 +-
 hw/ccid-card-passthru.c |  1 +
 hw/debugcon.c           |  2 +-
 hw/ivshmem.c            |  8 ++++----
 hw/qdev-properties.c    |  2 +-
 hw/serial.c             |  4 ++--
 hw/usb/dev-serial.c     |  4 ++--
 hw/usb/redirect.c       |  2 +-
 hw/virtio-console.c     | 12 ++++++++++--
 hw/virtio-serial-bus.c  |  9 +++++++++
 hw/virtio-serial.h      |  5 +++++
 main-loop.h             |  1 +
 monitor.c               |  4 ++--
 net/slirp.c             |  2 +-
 qemu-char.c             | 11 ++++++++++-
 qemu-char.h             | 13 +++++++++++++
 qtest.c                 |  2 +-
 spice-qemu-char.c       | 34 ++++++++++++++++++++++++++++++++++
 19 files changed, 101 insertions(+), 21 deletions(-)
Signature · 1 line
1.8.0