summary refs log tree commit diff stats
path: root/scripts/qapi-types.py
diff options
context:
space:
mode:
authorWenchao Xia <xiawenc@linux.vnet.ibm.com>2013-08-27 20:38:20 +0800
committerLuiz Capitulino <lcapitulino@redhat.com>2013-08-30 07:41:15 -0400
commit7717239dc1778e94a6210e62e1ec2ba720168eec (patch)
tree21d717eead6e1e907f158f7c15a143b9d8b60e05 /scripts/qapi-types.py
parentb01fe89e91268c6b02720735643020746610e6d8 (diff)
downloadfocaccia-qemu-7717239dc1778e94a6210e62e1ec2ba720168eec.tar.gz
focaccia-qemu-7717239dc1778e94a6210e62e1ec2ba720168eec.zip
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 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions