Re: [Qemu-devel] [PATCH v2 24/41] char: move mux to its own file

2017-01-30 Thread Eric Blake
On 01/30/2017 07:39 AM, Marc-André Lureau wrote: > A mechanical move, except that qemu_chr_write_all() needs to be declared > in char.h header to be used from chardev unit files. > > Signed-off-by: Marc-André Lureau > --- > chardev/char-mux.h| 63 + > include/sysemu/char.h | 3 +-

[Qemu-devel] [PATCH v2 24/41] char: move mux to its own file

2017-01-30 Thread Marc-André Lureau
A mechanical move, except that qemu_chr_write_all() needs to be declared in char.h header to be used from chardev unit files. Signed-off-by: Marc-André Lureau --- chardev/char-mux.h| 63 + include/sysemu/char.h | 3 +- chardev/char-mux.c| 358 ++