]> Git Repo - qemu.git/commit - qemu-char.c
char: update read handler in all cases
authorMarc-André Lureau <[email protected]>
Mon, 3 Oct 2016 09:47:03 +0000 (13:47 +0400)
committerPaolo Bonzini <[email protected]>
Tue, 4 Oct 2016 08:00:26 +0000 (10:00 +0200)
commit6a7b2b21008f271e7a91e937e521e22f94579bb9
tree79988f140cfe8b8387b0211fc5d6553e429a31bb
parent949055a2549afc4cde06b7972072c7288bb43722
char: update read handler in all cases

In commit ac1b84dd1 (rhbz#1027181), a check was added to only update the
"read handler" when the front-end is opened, because the read callbacks
were not restored when a device is plugged. However, this seems not
correct, the handler is correctly set back on hotplug (in
virtconsole_realize) and the bug can no longer be reproduced.

Calling chr_update_read_handler() allows to fix the mux driver to stop
calling the child handlers (which may be going to be destroyed).

Signed-off-by: Marc-André Lureau <[email protected]>
Message-Id: <20161003094704[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
qemu-char.c
This page took 0.026069 seconds and 4 git commands to generate.