]> git.proxmox.com Git - qemu.git/commit - hmp-commands.hx
QMP: Introduce the qmp_capabilities command
authorLuiz Capitulino <lcapitulino@redhat.com>
Thu, 4 Feb 2010 20:10:05 +0000 (18:10 -0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 10 Feb 2010 18:46:05 +0000 (12:46 -0600)
commit4a7e1190dfadf1154721125af8510347f8a3c56b
tree4a0c1bca3a4832dfc83019a932413b78bf81ad95
parentca9567e23454ca94e3911710da4e953ad049b40f
QMP: Introduce the qmp_capabilities command

This command will be used to enable QMP capabilities advertised
by the capabilities array.

Note that it will be mandatory to issue this command in order
to make QMP functional (although this behavior is not being
enforced by this commit).

Also, as we don't have any capabilities yet, the new command
doesn't accept any arguments. I will postpone the decision for
a format for this until we get our first capability.

Finally, this command is visible from the user Monitor too, in
the meaning that you can execute it but it won't do anything.
Making it only visible in QMP is beyond this series' goal, as
it requires changes in unrelated places.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
monitor.c
qemu-monitor.hx