qemu-e2k/monitor
Kevin Wolf da0a932bbf hmp: QAPIfy object_add
This switches the HMP command object_add from a QemuOpts-based parser to
user_creatable_add_from_str() which uses a keyval parser and enforces
the QAPI schema.

Apart from being a cleanup, this makes non-scalar properties and help
accessible. In order for help to be printed to the monitor instead of
stdout, the printf() calls in the help functions are changed to
qemu_printf().

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2021-03-19 10:17:14 +01:00
..
hmp-cmds.c hmp: QAPIfy object_add 2021-03-19 10:17:14 +01:00
hmp.c machine: introduce MachineInitPhase 2020-12-15 12:51:52 -05:00
meson.build meson: add spice_headers dependency. 2020-10-15 11:14:40 +02:00
misc.c qapi/qom: QAPIfy object-add 2021-03-19 10:17:14 +01:00
monitor-internal.h monitor: Use GString instead of QString for output buffer 2020-12-19 10:38:35 +01:00
monitor.c monitor: raise error when 'pretty' option is used with HMP 2021-03-18 09:22:55 +00:00
qmp-cmds-control.c monitor: remove 'query-events' QMP command 2021-03-18 09:22:55 +00:00
qmp-cmds.c monitor/qmp-cmds.c: Don't include ui/vnc.h 2021-02-04 13:20:28 +01:00
qmp.c monitor: Replaced qemu_mutex_lock calls with QEMU_LOCK_GUARD 2021-03-15 20:01:55 +00:00
trace-events qmp: Add more tracepoints 2021-02-04 13:20:29 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00