2021-05-17 15:16:58 +00:00
|
|
|
# See docs/devel/tracing.rst for syntax documentation.
|
2019-03-14 18:09:25 +00:00
|
|
|
|
2019-03-14 18:09:26 +00:00
|
|
|
# qapi-visit-core.c
|
2016-09-30 14:45:26 +00:00
|
|
|
visit_free(void *v) "v=%p"
|
|
|
|
visit_complete(void *v, void *opaque) "v=%p opaque=%p"
|
|
|
|
|
|
|
|
visit_start_struct(void *v, const char *name, void *obj, size_t size) "v=%p name=%s obj=%p size=%zu"
|
|
|
|
visit_check_struct(void *v) "v=%p"
|
|
|
|
visit_end_struct(void *v, void *obj) "v=%p obj=%p"
|
|
|
|
|
|
|
|
visit_start_list(void *v, const char *name, void *obj, size_t size) "v=%p name=%s obj=%p size=%zu"
|
|
|
|
visit_next_list(void *v, void *tail, size_t size) "v=%p tail=%p size=%zu"
|
2017-03-03 12:32:45 +00:00
|
|
|
visit_check_list(void *v) "v=%p"
|
2016-09-30 14:45:26 +00:00
|
|
|
visit_end_list(void *v, void *obj) "v=%p obj=%p"
|
|
|
|
|
2017-06-07 16:35:59 +00:00
|
|
|
visit_start_alternate(void *v, const char *name, void *obj, size_t size) "v=%p name=%s obj=%p size=%zu"
|
2016-09-30 14:45:26 +00:00
|
|
|
visit_end_alternate(void *v, void *obj) "v=%p obj=%p"
|
|
|
|
|
|
|
|
visit_optional(void *v, const char *name, bool *present) "v=%p name=%s present=%p"
|
2021-03-18 15:55:18 +00:00
|
|
|
visit_deprecated_accept(void *v, const char *name) "v=%p name=%s"
|
qapi: Implement deprecated-output=hide for QMP command results
This policy suppresses deprecated bits in output, and thus permits
"testing the future". Implement it for QMP command results. Example:
when QEMU is run with -compat deprecated-output=hide, then
{"execute": "query-cpus-fast"}
yields
{"return": [{"thread-id": 9805, "props": {"core-id": 0, "thread-id": 0, "socket-id": 0}, "qom-path": "/machine/unattached/device[0]", "cpu-index": 0, "target": "x86_64"}]}
instead of
{"return": [{"arch": "x86", "thread-id": 22436, "props": {"core-id": 0, "thread-id": 0, "socket-id": 0}, "qom-path": "/machine/unattached/device[0]", "cpu-index": 0, "target": "x86_64"}]}
Note the suppression of deprecated member "arch".
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210318155519.1224118-4-armbru@redhat.com>
2021-03-18 15:55:11 +00:00
|
|
|
visit_deprecated(void *v, const char *name) "v=%p name=%s"
|
2016-09-30 14:45:26 +00:00
|
|
|
|
|
|
|
visit_type_enum(void *v, const char *name, int *obj) "v=%p name=%s obj=%p"
|
|
|
|
visit_type_int(void *v, const char *name, int64_t *obj) "v=%p name=%s obj=%p"
|
|
|
|
visit_type_uint8(void *v, const char *name, uint8_t *obj) "v=%p name=%s obj=%p"
|
|
|
|
visit_type_uint16(void *v, const char *name, uint16_t *obj) "v=%p name=%s obj=%p"
|
|
|
|
visit_type_uint32(void *v, const char *name, uint32_t *obj) "v=%p name=%s obj=%p"
|
|
|
|
visit_type_uint64(void *v, const char *name, uint64_t *obj) "v=%p name=%s obj=%p"
|
|
|
|
visit_type_int8(void *v, const char *name, int8_t *obj) "v=%p name=%s obj=%p"
|
|
|
|
visit_type_int16(void *v, const char *name, int16_t *obj) "v=%p name=%s obj=%p"
|
|
|
|
visit_type_int32(void *v, const char *name, int32_t *obj) "v=%p name=%s obj=%p"
|
|
|
|
visit_type_int64(void *v, const char *name, int64_t *obj) "v=%p name=%s obj=%p"
|
|
|
|
visit_type_size(void *v, const char *name, uint64_t *obj) "v=%p name=%s obj=%p"
|
|
|
|
visit_type_bool(void *v, const char *name, bool *obj) "v=%p name=%s obj=%p"
|
|
|
|
visit_type_str(void *v, const char *name, char **obj) "v=%p name=%s obj=%p"
|
2018-06-21 15:02:54 +00:00
|
|
|
visit_type_number(void *v, const char *name, void *obj) "v=%p name=%s obj=%p"
|
2016-09-30 14:45:26 +00:00
|
|
|
visit_type_any(void *v, const char *name, void *obj) "v=%p name=%s obj=%p"
|
2017-06-26 16:22:59 +00:00
|
|
|
visit_type_null(void *v, const char *name, void *obj) "v=%p name=%s obj=%p"
|