]> git.proxmox.com Git - qemu.git/commit - monitor.c
monitor: split off monitor_data_init()
authorWenchao Xia <xiawenc@linux.vnet.ibm.com>
Tue, 27 Aug 2013 12:38:19 +0000 (20:38 +0800)
committerLuiz Capitulino <lcapitulino@redhat.com>
Fri, 30 Aug 2013 11:41:15 +0000 (07:41 -0400)
commitb01fe89e91268c6b02720735643020746610e6d8
tree2a271967c5ad7b0731e6d5a4f01ab8e3f3ea02eb
parentd038317c357efef9d8d362e526c5f5071f505a04
monitor: split off monitor_data_init()

In qmp_human_monitor_command(), the monitor need to initialized for
basic functionalities, and later more init code will be added, so
split off this function. Note that it is different with QMP mode
monitor which accept json string from monitor's input,
qmp_human_monitor_command() retrieve the human style command from
QMP input, then send the command to a normal mode monitor.

Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
monitor.c