On 10/22/2016 04:52 AM, Marc-André Lureau wrote: > Make qemu_chr_add_handlers_full() aware of mux handling. This allows > introduction of a tag associated with the fe handlers and a > qemu_chr_set_handlers() function to set the handler for a particular > tag. That will allow to get rid of qemu_chr_add_handlers*() in later > changes, in favor of qemu_chr_fe_set_handler(). > > To this end, chr_update_read_handler callback is enhanced with a tag > argument, and mux_chr_update_read_handler() is splitted in new
s/splitted in/split into/ > functions: mux_chr_new_handler_tag(), mux_chr_set_handlers(), > mux_set_focus(). > > Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> > --- > qemu-char.c | 139 > +++++++++++++++++++++++++++++++++++--------------- > include/sysemu/char.h | 2 +- > 2 files changed, 99 insertions(+), 42 deletions(-) > -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature