Re: [Qemu-devel] [PATCH V7 08/13] monitor: refine parse_cmdline()

2013-07-20 Thread Eric Blake
On 07/19/2013 07:44 PM, Wenchao Xia wrote: > Since this function will be used by help_cmd() later, so improve > it to make it more generic and easier to use. free_cmdline_args() > is added to as paired function to free the result. s/added to/added too/ > > One change of this function is that, wh

[Qemu-devel] [PATCH V7 08/13] monitor: refine parse_cmdline()

2013-07-19 Thread Wenchao Xia
Since this function will be used by help_cmd() later, so improve it to make it more generic and easier to use. free_cmdline_args() is added to as paired function to free the result. One change of this function is that, when the valid args in input exceed the limit of MAX_ARGS, it fails now, instea