Re: [Qemu-devel] [PATCH V2 2/7] monitor: discard global variable *mon_cmds

2013-06-27 Thread Eric Blake
On 06/24/2013 06:48 AM, Wenchao Xia wrote: New member *cmd_table is added in structure Monitor to avoid direct usage of *mon_cmds. Now monitor have an associated command table, when global variable *info_cmds is also discarded, structure Monitor would gain full control about how to deal with

[Qemu-devel] [PATCH V2 2/7] monitor: discard global variable *mon_cmds

2013-06-24 Thread Wenchao Xia
New member *cmd_table is added in structure Monitor to avoid direct usage of *mon_cmds. Now monitor have an associated command table, when global variable *info_cmds is also discarded, structure Monitor would gain full control about how to deal with user input. Signed-off-by: Wenchao Xia