qemu-patch-raspberry4/monitor
Kevin Wolf 9151e59a8b qapi/qom: QAPIfy object-add
This converts object-add from 'gen': false to the ObjectOptions QAPI
type. As an immediate benefit, clients can now use QAPI schema
introspection for user creatable QOM objects.

It is also the first step towards making the QAPI schema the only
external interface for the creation of user creatable objects. Once all
other places (HMP and command lines of the system emulator and all
tools) go through QAPI, too, some object implementations can be
simplified because some checks (e.g. that mandatory options are set) are
already performed by QAPI, and in another step, QOM boilerplate code
could be generated from the schema.

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>
2021-03-19 10:17:14 +01:00
..
hmp-cmds.c migrate: remove QMP/HMP commands for speed, downtime and cache size 2021-03-18 09:22:55 +00: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