Re: [PATCH] contrib/vhost-user-blk: add missing GOptionEntry NULL terminator

2022-04-12 Thread Stefan Hajnoczi
On Mon, Apr 11, 2022 at 04:00:57PM +0100, Stefan Hajnoczi wrote: > The GLib documentation says "a NULL-terminated array of GOptionEntrys" > so we'd better make sure there is a terminator that lets > g_option_context_add_main_entries() know when the end of the array has > been reached. > > Signed-o

Re: [PATCH] contrib/vhost-user-blk: add missing GOptionEntry NULL terminator

2022-04-11 Thread Michael S. Tsirkin
On Mon, Apr 11, 2022 at 04:00:57PM +0100, Stefan Hajnoczi wrote: > The GLib documentation says "a NULL-terminated array of GOptionEntrys" > so we'd better make sure there is a terminator that lets > g_option_context_add_main_entries() know when the end of the array has > been reached. > > Signed-o

[PATCH] contrib/vhost-user-blk: add missing GOptionEntry NULL terminator

2022-04-11 Thread Stefan Hajnoczi
The GLib documentation says "a NULL-terminated array of GOptionEntrys" so we'd better make sure there is a terminator that lets g_option_context_add_main_entries() know when the end of the array has been reached. Signed-off-by: Stefan Hajnoczi --- contrib/vhost-user-blk/vhost-user-blk.c | 3 ++-