Re: [Qemu-devel] [PATCH 03/54] char: use a static array for backends

2017-01-02 Thread Marc-André Lureau
Hi - Original Message - > On 12/12/2016 04:42 PM, Marc-André Lureau wrote: > > Number and kinds of backends is known at compile-time, use a fixed-sized > > static array to simplify iterations & lookups. > > > > Signed-off-by: Marc-André Lureau > > --- > > qemu-char.c | 101 > >

Re: [Qemu-devel] [PATCH 03/54] char: use a static array for backends

2016-12-14 Thread Eric Blake
On 12/12/2016 04:42 PM, Marc-André Lureau wrote: > Number and kinds of backends is known at compile-time, use a fixed-sized > static array to simplify iterations & lookups. > > Signed-off-by: Marc-André Lureau > --- > qemu-char.c | 101 > ---

[Qemu-devel] [PATCH 03/54] char: use a static array for backends

2016-12-12 Thread Marc-André Lureau
Number and kinds of backends is known at compile-time, use a fixed-sized static array to simplify iterations & lookups. Signed-off-by: Marc-André Lureau --- qemu-char.c | 101 -- include/sysemu/char.h | 1 + 2 files changed, 58 insertio