diff options
| author | Marc-André Lureau | 2016-10-03 11:47:03 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2016-10-04 10:00:26 +0200 |
| commit | 6a7b2b21008f271e7a91e937e521e22f94579bb9 (patch) | |
| tree | 79988f140cfe8b8387b0211fc5d6553e429a31bb /include/qapi/string-input-visitor.h | |
| parent | char: use a fixed idx for child muxed chr (diff) | |
| download | qemu-6a7b2b21008f271e7a91e937e521e22f94579bb9.tar.gz qemu-6a7b2b21008f271e7a91e937e521e22f94579bb9.tar.xz qemu-6a7b2b21008f271e7a91e937e521e22f94579bb9.zip | |
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 <marcandre.lureau@redhat.com>
Message-Id: <20161003094704.18087-2-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/qapi/string-input-visitor.h')
0 files changed, 0 insertions, 0 deletions
