This patch-series is the result of the "[PATCH 1/2] char: add qemu_chr_be_is_fe_connected" discussion thread.
This patch series makes the frontend open concept both more explicit and generic, and significantly cleans up the surrounding code. Changes in v2: - Based on top of latest master - Add protection against double closing / opening to: [PATCH 03/11] qemu-char: Add fe_open tracking - Add 3 new patches, including a fix for the migration issue which started the whole discussion: [PATCH 07/11] qemu-char: Move incrementing of avail_connections to [PATCH 08/11] qemu-char: add_handlers: Don't re-send the be_open [PATCH 10/11] virtio-serial: propagate guest_connected to the port on Regards, Hans