[Qemu-devel] [PATCH 1/2] monitor: discard global variable in auto completion functions

2013-06-21 Thread Wenchao Xia
In monitor_find_completion() and related functions, Global variable *mon_cmds is not used any more, make them reenterable safely. *cur_mon is also not used now. *info_cmds is still there, but soon will be removed by a new way of sub command completion. Signed-off-by: Wenchao Xia --- include/moni

Re: [Qemu-devel] [PATCH 1/2] monitor: discard global variable in auto completion functions

2013-06-21 Thread Luiz Capitulino
On Fri, 21 Jun 2013 14:37:37 +0800 Wenchao Xia wrote: > In monitor_find_completion() and related functions, Global variable > *mon_cmds is not used any more, make them reenterable safely. > *cur_mon is also not used now. *info_cmds is still there, but soon > will be removed by a new way of sub co

Re: [Qemu-devel] [PATCH 1/2] monitor: discard global variable in auto completion functions

2013-06-23 Thread Wenchao Xia
于 2013-6-21 23:24, Luiz Capitulino 写道: On Fri, 21 Jun 2013 14:37:37 +0800 Wenchao Xia wrote: In monitor_find_completion() and related functions, Global variable *mon_cmds is not used any more, make them reenterable safely. *cur_mon is also not used now. *info_cmds is still there, but soon will