diff options
author | Wenchao Xia <xiawenc@linux.vnet.ibm.com> | 2013-08-27 20:38:20 +0800 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2013-08-30 07:41:15 -0400 |
commit | 7717239dc1778e94a6210e62e1ec2ba720168eec (patch) | |
tree | 21d717eead6e1e907f158f7c15a143b9d8b60e05 /qmp-commands.hx | |
parent | b01fe89e91268c6b02720735643020746610e6d8 (diff) | |
download | qemu-7717239dc1778e94a6210e62e1ec2ba720168eec.zip qemu-7717239dc1778e94a6210e62e1ec2ba720168eec.tar.gz qemu-7717239dc1778e94a6210e62e1ec2ba720168eec.tar.bz2 |
monitor: avoid direct use of global variable *mon_cmds
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 <xiawenc@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
0 files changed, 0 insertions, 0 deletions