Re: [Qemu-devel] [PATCH V3 2/4] HMP: add infrastructure for sub command

2013-01-10 Thread Markus Armbruster
wenchao xia writes: > 于 2013-1-10 11:30, Wenchao Xia 写道: -static const mon_cmd_t *qmp_find_cmd(const char *cmdname) -{ -return search_dispatch_table(qmp_cmds, cmdname); -} >>> >>> Touching qmp_find_cmd() is unrelated to this series. >>> >>OK. >> - -static con

Re: [Qemu-devel] [PATCH V3 2/4] HMP: add infrastructure for sub command

2013-01-09 Thread wenchao xia
于 2013-1-10 11:30, Wenchao Xia 写道: -static const mon_cmd_t *qmp_find_cmd(const char *cmdname) -{ -return search_dispatch_table(qmp_cmds, cmdname); -} Touching qmp_find_cmd() is unrelated to this series. OK. - -static const mon_cmd_t *monitor_parse_command(Monitor *mon, -

Re: [Qemu-devel] [PATCH V3 2/4] HMP: add infrastructure for sub command

2013-01-09 Thread Wenchao Xia
-static const mon_cmd_t *qmp_find_cmd(const char *cmdname) -{ -return search_dispatch_table(qmp_cmds, cmdname); -} Touching qmp_find_cmd() is unrelated to this series. OK. - -static const mon_cmd_t *monitor_parse_command(Monitor *mon, - cons

Re: [Qemu-devel] [PATCH V3 2/4] HMP: add infrastructure for sub command

2013-01-09 Thread Luiz Capitulino
On Thu, 27 Dec 2012 17:40:25 +0800 Wenchao Xia wrote: > This patch make parsing of hmp command aware of that it may > have sub command. Also discard simple encapsulation function > monitor_find_command() and qmp_find_cmd(). > > Signed-off-by: Wenchao Xia > --- > monitor.c | 44

[Qemu-devel] [PATCH V3 2/4] HMP: add infrastructure for sub command

2012-12-27 Thread Wenchao Xia
This patch make parsing of hmp command aware of that it may have sub command. Also discard simple encapsulation function monitor_find_command() and qmp_find_cmd(). Signed-off-by: Wenchao Xia --- monitor.c | 44 +++- 1 files changed, 27 insertions(+), 1