Re: [Qemu-devel] [PATCH V7 10/13] monitor: refine monitor_find_completion()

2013-07-25 Thread Eric Blake
On 07/19/2013 07:44 PM, Wenchao Xia wrote: > In order to support sub command in auto completion, an reentrant function s/an/a/ > is needed, so monitor_find_completion() is splitted into two parts. The s/splitted/split/ > first part does parsing of user input which need to be done only once, > t

[Qemu-devel] [PATCH V7 10/13] monitor: refine monitor_find_completion()

2013-07-19 Thread Wenchao Xia
In order to support sub command in auto completion, an reentrant function is needed, so monitor_find_completion() is splitted into two parts. The first part does parsing of user input which need to be done only once, the second part does the auto completion job according to the parsing result, whic