Re: [Qemu-devel] [PATCH v3 02/21] mux: simplfy muxes_realize_done

2017-04-10 Thread Philippe Mathieu-Daudé
On 04/04/2017 01:31 PM, Marc-André Lureau wrote: Hi Philippe - Original Message - Hi Marc-André, On 03/16/2017 06:21 AM, Marc-André Lureau wrote: mux_chr_event() already send events to all backends, rename it, export it, and use it from muxes_realize_done. This should help abstract aw

Re: [Qemu-devel] [PATCH v3 02/21] mux: simplfy muxes_realize_done

2017-04-04 Thread Marc-André Lureau
Hi Philippe - Original Message - > Hi Marc-André, > > On 03/16/2017 06:21 AM, Marc-André Lureau wrote: > > mux_chr_event() already send events to all backends, rename it, > > export it, and use it from muxes_realize_done. This should help abstract > > away mux implementation. > > > > Sign

Re: [Qemu-devel] [PATCH v3 02/21] mux: simplfy muxes_realize_done

2017-04-04 Thread Philippe Mathieu-Daudé
Hi Marc-André, On 03/16/2017 06:21 AM, Marc-André Lureau wrote: mux_chr_event() already send events to all backends, rename it, export it, and use it from muxes_realize_done. This should help abstract away mux implementation. Signed-off-by: Marc-André Lureau Reviewed-by: Eric Blake --- chard

[Qemu-devel] [PATCH v3 02/21] mux: simplfy muxes_realize_done

2017-03-16 Thread Marc-André Lureau
mux_chr_event() already send events to all backends, rename it, export it, and use it from muxes_realize_done. This should help abstract away mux implementation. Signed-off-by: Marc-André Lureau Reviewed-by: Eric Blake --- chardev/char-mux.h | 2 +- chardev/char-mux.c | 11 --- chardev