Re: [Qemu-devel] [PATCH 4/9] char: update the mux hanlders in class callback

2018-08-30 Thread Markus Armbruster
Marc-André Lureau writes: > Hi > > On Thu, Aug 30, 2018 at 4:58 PM Markus Armbruster wrote: >> >> Marc-André Lureau writes: >> >> > Instead of handling mux chardev in a special way in >> > qemu_chr_fe_set_handlers(), we may use the chr_update_read_handler >> > class callback instead. >> > >> >

Re: [Qemu-devel] [PATCH 4/9] char: update the mux hanlders in class callback

2018-08-30 Thread Marc-André Lureau
Hi On Thu, Aug 30, 2018 at 4:58 PM Markus Armbruster wrote: > > Marc-André Lureau writes: > > > Instead of handling mux chardev in a special way in > > qemu_chr_fe_set_handlers(), we may use the chr_update_read_handler > > class callback instead. > > > > Signed-off-by: Marc-André Lureau > > In

Re: [Qemu-devel] [PATCH 4/9] char: update the mux hanlders in class callback

2018-08-30 Thread Markus Armbruster
Marc-André Lureau writes: > Instead of handling mux chardev in a special way in > qemu_chr_fe_set_handlers(), we may use the chr_update_read_handler > class callback instead. > > Signed-off-by: Marc-André Lureau In your subject, s/hanlders/handlers/.

[Qemu-devel] [PATCH 4/9] char: update the mux hanlders in class callback

2018-08-27 Thread Marc-André Lureau
Instead of handling mux chardev in a special way in qemu_chr_fe_set_handlers(), we may use the chr_update_read_handler class callback instead. Signed-off-by: Marc-André Lureau --- include/chardev/char-mux.h | 1 - chardev/char-fe.c | 4 chardev/char-mux.c | 5 +++-- 3 files