diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2009-11-26 22:58:58 -0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 09:41:22 -0600 |
commit | 9b57c02e3e14163b576ada77ddd1d7b346a6e421 (patch) | |
tree | 088fe8d6eccd145416c3a5c9e8f4cd8753c64f11 /cache-utils.h | |
parent | 4b9d46834de8c75c3cbd5bc1c5f00e35c74e01ed (diff) | |
download | qemu-9b57c02e3e14163b576ada77ddd1d7b346a6e421.zip qemu-9b57c02e3e14163b576ada77ddd1d7b346a6e421.tar.gz qemu-9b57c02e3e14163b576ada77ddd1d7b346a6e421.tar.bz2 |
QMP: Initial support
This commit adds initial QMP support in QEMU. It's important
to notice that most QMP code will be part of the Monitor.
Input will be read by monitor_control_read(). Currently it
does nothing but next patches will add proper input support.
The function monitor_json_emitter(), as its name implies, is
used by the Monitor to emit JSON output. In this commit it's
used by monitor_control_event() to print our greeting message.
Finally, control mode support is also added to monitor_init(),
allowing QMP to be really enabled.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'cache-utils.h')
0 files changed, 0 insertions, 0 deletions