On 05/07/2017 16:02, Anton Nefedov wrote:
> Also, avoid unsafe qemu_chr_fe_get_driver() usage even though the pointer
> is not really stored.
Please move that part to patch 5, together with other switches to
qemu_chr_fe_backend_connected.
Paolo
In case of a backend change, the handler functions and the watch have
to be reset.
Also, avoid unsafe qemu_chr_fe_get_driver() usage even though the pointer
is not really stored.
Signed-off-by: Anton Nefedov
Reviewed-by: Vladimir Sementsov-Ogievskiy
---
hw/char/virtio-console.c | 35 +++