]> git.proxmox.com Git - mirror_qemu.git/commit - hmp.h
monitor: add object-add (QMP) and object_add (HMP) command
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 20 Dec 2013 22:21:10 +0000 (23:21 +0100)
committerLuiz Capitulino <lcapitulino@redhat.com>
Mon, 6 Jan 2014 18:45:47 +0000 (13:45 -0500)
commitcff8b2c6fcdc9492d1141da11f55615843fa0a5e
tree481b40c3e12f48ca4879137986c4b83f5441ee10
parentab2d0531b2e41bc5fd8f8e59405f135986599476
monitor: add object-add (QMP) and object_add (HMP) command

Add two commands that are the monitor counterparts of -object.  The commands
have the same Visitor-based implementation, but use different kinds of
visitors so that the HMP command has a DWIM string-based syntax, while
the QMP variant accepts a stricter JSON-based properties dictionary.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Tested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
hmp-commands.hx
hmp.c
hmp.h
include/monitor/monitor.h
include/qapi/visitor.h
include/qemu/typedefs.h
qapi-schema.json
qmp-commands.hx
qmp.c