diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-10-22 12:52:56 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-10-24 15:27:21 +0200 |
commit | 386f07d1fc02fb4316039994b855c4feb9b091ce (patch) | |
tree | b75ed9ec7099a31a1236de8ef31ee229c2f90141 /include/sysemu/char.h | |
parent | 5345fdb4467816c44f6752b3a1f4e73aa25919f9 (diff) |
char: fold qemu_chr_set_handlers in qemu_chr_fe_set_handlers
qemu_chr_add_handlers*() have been removed in previous change, so the
common qemu_chr_set_handlers() is no longer needed.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20161022095318.17775-17-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/sysemu/char.h')
-rw-r--r-- | include/sysemu/char.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sysemu/char.h b/include/sysemu/char.h index 816c536789..f2b3999735 100644 --- a/include/sysemu/char.h +++ b/include/sysemu/char.h @@ -460,7 +460,8 @@ CharDriverState *qemu_chr_fe_get_driver(CharBackend *be); * @opaque: an opaque pointer for the callbacks * @context: a main loop context or NULL for the default * - * Set the front end char handlers. + * Set the front end char handlers. The front end takes the focus if + * any of the handler is non-NULL. */ void qemu_chr_fe_set_handlers(CharBackend *b, IOCanReadHandler *fd_can_read, |