This series is back to not adding any generic post load callback to the char device layer, the only difference from the initial post is that no state is kept in spicevmc/spiceport and instead the guest connected status is queried from the device.
v3: use qemu_chr_be_is_fe_connected instead of local state. Alon Levy (2): char: add qemu_chr_be_is_fe_connected spice-qemu-char: register interface on post load hw/virtio-console.c | 9 +++++++++ include/char/char.h | 11 +++++++++++ qemu-char.c | 9 +++++++++ spice-qemu-char.c | 39 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 68 insertions(+) -- 1.8.1.4