virtio-console: chardev hotswap support
commitaf50855c251bd08e90fd915a2d58c870df0a78e5
authorAnton Nefedov <anton.nefedov@virtuozzo.com>
Thu, 6 Jul 2017 12:08:58 +0000 (6 15:08 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Jul 2017 09:04:34 +0000 (14 11:04 +0200)
tree85aa48f8185759ccd86fb4e68a5243f0e94b13c2
parent75b601602be0462acb4e0298e738df86b1de61a1
virtio-console: chardev hotswap support

In case of a backend change, the handler functions and the watch have
to be reset.

Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <1499342940-56739-12-git-send-email-anton.nefedov@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/char/virtio-console.c