Re: [Qemu-devel] [PATCH V16 3/7] Create four QemuOptsList related functions

2013-07-10 Thread Eric Blake
On 06/18/2013 03:31 AM, Dong Xu Wang wrote: > This patch creates 4 functions, count_opts_list, qemu_opts_append, > qemu_opts_free and qemu_opts_print_help, they are used in following > commits. > > > > Signed-off-by: Dong Xu Wang > --- > + > +/* Create a new QemuOptsList and make its desc to t

[Qemu-devel] [PATCH V16 3/7] Create four QemuOptsList related functions

2013-06-18 Thread Dong Xu Wang
This patch creates 4 functions, count_opts_list, qemu_opts_append, qemu_opts_free and qemu_opts_print_help, they are used in following commits. Signed-off-by: Dong Xu Wang --- v16->v17: 1) discard double-initialization. 2) use pointer directly, not g_strdup. v12->v13: 1) simply assert that nei