Home
last modified time | relevance | path

Searched refs:QDict (Results 1 – 25 of 233) sorted by relevance

12345678910

/openbmc/qemu/include/monitor/
H A Dhmp.h24 void hmp_info_name(Monitor *mon, const QDict *qdict);
26 void hmp_info_kvm(Monitor *mon, const QDict *qdict);
28 void hmp_info_uuid(Monitor *mon, const QDict *qdict);
42 void hmp_quit(Monitor *mon, const QDict *qdict);
43 void hmp_stop(Monitor *mon, const QDict *qdict);
49 void hmp_cpu(Monitor *mon, const QDict *qdict);
54 void hmp_cont(Monitor *mon, const QDict *qdict);
56 void hmp_nmi(Monitor *mon, const QDict *qdict);
62 void hmp_delvm(Monitor *mon, const QDict *qdict);
171 void hmp_log(Monitor *mon, const QDict *qdict);
[all …]
H A Dhmp-target.h50 void hmp_info_mem(Monitor *mon, const QDict *qdict);
51 void hmp_info_tlb(Monitor *mon, const QDict *qdict);
52 void hmp_mce(Monitor *mon, const QDict *qdict);
54 void hmp_info_sev(Monitor *mon, const QDict *qdict);
55 void hmp_info_sgx(Monitor *mon, const QDict *qdict);
56 void hmp_info_via(Monitor *mon, const QDict *qdict);
57 void hmp_memory_dump(Monitor *mon, const QDict *qdict);
59 void hmp_info_registers(Monitor *mon, const QDict *qdict);
60 void hmp_gva2gpa(Monitor *mon, const QDict *qdict);
61 void hmp_gpa2hva(Monitor *mon, const QDict *qdict);
[all …]
/openbmc/qemu/include/block/
H A Dblock-hmp-cmds.h20 void hmp_drive_add(Monitor *mon, const QDict *qdict);
22 void hmp_commit(Monitor *mon, const QDict *qdict);
23 void hmp_drive_del(Monitor *mon, const QDict *qdict);
25 void hmp_drive_mirror(Monitor *mon, const QDict *qdict);
26 void hmp_drive_backup(Monitor *mon, const QDict *qdict);
30 void hmp_block_job_pause(Monitor *mon, const QDict *qdict);
44 void hmp_block_stream(Monitor *mon, const QDict *qdict);
45 void hmp_block_passwd(Monitor *mon, const QDict *qdict);
47 void hmp_eject(Monitor *mon, const QDict *qdict);
49 void hmp_qemu_io(Monitor *mon, const QDict *qdict);
[all …]
H A Dqdict.h15 QObject *qdict_crumple(const QDict *src, Error **errp);
16 void qdict_flatten(QDict *qdict);
18 void qdict_copy_default(QDict *dst, QDict *src, const char *key);
19 void qdict_set_default_str(QDict *dst, const char *key, const char *val);
21 void qdict_join(QDict *dest, QDict *src, bool overwrite);
23 void qdict_extract_subqdict(QDict *src, QDict **dst, const char *start);
24 void qdict_array_split(QDict *src, QList **dst);
25 int qdict_array_entries(QDict *src, const char *subqdict);
31 bool qdict_rename_keys(QDict *qdict, const QDictRenames *renames, Error **errp);
33 Visitor *qobject_input_visitor_new_flat_confused(QDict *qdict,
/openbmc/qemu/include/qapi/qmp/
H A Dqdict.h27 struct QDict { struct
33 void qdict_unref(QDict *q); argument
35 G_DEFINE_AUTOPTR_CLEANUP_FUNC(QDict, qdict_unref)
38 QDict *qdict_new(void);
41 size_t qdict_size(const QDict *qdict);
43 void qdict_del(QDict *qdict, const char *key);
44 int qdict_haskey(const QDict *qdict, const char *key);
46 const QDictEntry *qdict_first(const QDict *qdict);
55 void qdict_put_null(QDict *qdict, const char *key);
62 QDict *qdict_get_qdict(const QDict *qdict, const char *key);
[all …]
/openbmc/qemu/qobject/
H A Dqdict.c26 QDict *qdict_new(void) in qdict_new()
28 QDict *qdict; in qdict_new()
182 size_t qdict_size(const QDict *qdict) in qdict_size()
236 QDict *qdict_get_qdict(const QDict *qdict, const char *key) in qdict_get_qdict()
345 QDict *qdict_clone_shallow(const QDict *src) in qdict_clone_shallow()
347 QDict *dest; in qdict_clone_shallow()
402 const QDict *dict_x = qobject_to(QDict, x); in qdict_is_equal()
403 const QDict *dict_y = qobject_to(QDict, y); in qdict_is_equal()
428 QDict *qdict; in qdict_destroy_obj()
431 qdict = qobject_to(QDict, obj); in qdict_destroy_obj()
[all …]
H A Dblock-qdict.c25 void qdict_copy_default(QDict *dst, QDict *src, const char *key) in qdict_copy_default()
52 static void qdict_flatten_qdict(QDict *qdict, QDict *target,
59 QDict *dict_val; in qdict_flatten_qlist()
94 static void qdict_flatten_qdict(QDict *qdict, QDict *target, const char *prefix) in qdict_flatten_qdict()
98 QDict *dict_val; in qdict_flatten_qdict()
156 void qdict_flatten(QDict *qdict) in qdict_flatten()
163 void qdict_extract_subqdict(QDict *src, QDict **dst, const char *start) in qdict_extract_subqdict()
227 QDict *subqdict; in qdict_array_split()
427 QDict *dict_val; in qdict_crumple()
550 QDict *tmp = NULL; in qdict_crumple_for_keyval_qiv()
[all …]
/openbmc/qemu/monitor/
H A Dhmp-cmds.c61 void hmp_info_name(Monitor *mon, const QDict *qdict) in hmp_info_name()
85 void hmp_quit(Monitor *mon, const QDict *qdict) in hmp_quit()
91 void hmp_stop(Monitor *mon, const QDict *qdict) in hmp_stop()
129 void hmp_cpu(Monitor *mon, const QDict *qdict) in hmp_cpu()
141 void hmp_cont(Monitor *mon, const QDict *qdict) in hmp_cont()
149 void hmp_change(Monitor *mon, const QDict *qdict) in hmp_change()
171 void hmp_getfd(Monitor *mon, const QDict *qdict) in hmp_getfd()
210 void hmp_help(Monitor *mon, const QDict *qdict) in hmp_help()
260 void hmp_log(Monitor *mon, const QDict *qdict) in hmp_log()
299 void hmp_print(Monitor *mon, const QDict *qdict) in hmp_print()
[all …]
/openbmc/qemu/tests/qtest/
H A Ddevice-introspect-test.c31 QDict *resp; in qom_list_types()
33 QDict *args = qdict_new(); in qom_list_types()
51 QDict *index = qdict_new(); in qom_type_index()
55 QDict *d = qobject_to(QDict, qlist_entry_obj(e)); in qom_type_index()
88 QDict *d = qobject_to(QDict, qlist_entry_obj(e)); in type_list_find()
105 QDict *resp; in test_one_device()
150 QDict *index; in test_qom_list_parents()
156 QDict *d = qobject_to(QDict, qlist_entry_obj(e)); in test_qom_list_parents()
179 QDict *d = qobject_to(QDict, qlist_entry_obj(e)); in test_qom_list_fields()
275 QDict *index; in test_abstract_interfaces()
[all …]
H A Darm-cpu-features.c39 QDict *resp; in do_query()
42 QDict *args; in do_query()
61 QDict *qdict; in resp_get_error()
88 QDict *qdict; in resp_has_props()
105 static QDict *resp_get_props(QDict *resp) in resp_get_props()
107 QDict *qdict; in resp_get_props()
121 QDict *props; in resp_get_feature()
189 QDict *resp; in assert_type_full()
205 QDict *resp; in assert_bad_props()
223 QDict *props; in resp_get_sve_vls()
[all …]
H A Dlibqtest.h133 QDict *qtest_qmp_fds(QTestState *s, int *fds, size_t fds_num,
147 QDict *qtest_qmp(QTestState *s, const char *fmt, ...)
194 QDict *qtest_vqmp_fds(QTestState *s, int *fds, size_t fds_num,
209 QDict *qtest_vqmp(QTestState *s, const char *fmt, va_list ap)
249 QDict *qtest_qmp_receive_dict(QTestState *s);
262 QDict *qtest_qmp_receive(QTestState *s);
317 QDict *qtest_qmp_eventwait_ref(QTestState *s, const char *event);
330 QDict *qtest_qmp_event_ref(QTestState *s, const char *event);
772 QDict *qtest_vqmp_assert_success_ref(QTestState *qts,
852 QDict *qtest_vqmp_assert_failure_ref(QTestState *qts,
[all …]
H A Dmigration-helpers.c56 QDict *dict = qdict_new(); in SocketAddress_to_qdict()
87 QDict *rsp; in migrate_get_socket_address()
118 static QDict *
122 QDict *connect_qdict; in migrate_get_connect_qdict()
133 QDict *addr; in migrate_set_ports()
140 QDict *channel = qobject_to(QDict, qlist_entry_obj(entry)); in migrate_set_ports()
177 QDict *args, *err; in migrate_qmp_fail()
211 QDict *args; in migrate_qmp()
252 QDict *args, *rsp; in migrate_incoming_qmp()
362 QDict *rsp_return; in wait_for_migration_fail()
[all …]
H A Dwdt_ib700-test.c17 QDict *resp = qtest_qmp(s, "{'execute':'query-status'}"); in qmp_check_no_event()
22 static QDict *ib700_program_and_wait(QTestState *s) in ib700_program_and_wait()
24 QDict *event, *data; in ib700_program_and_wait()
59 QDict *d; in ib700_pause()
72 QDict *d; in ib700_reset()
85 QDict *d; in ib700_shutdown()
99 QDict *d; in ib700_none()
H A Dlibqmp.h23 QDict *qmp_fd_receive(int fd);
32 QDict *qmp_fdv(int fd, const char *fmt, va_list ap) G_GNUC_PRINTF(2, 0);
33 QDict *qmp_fd(int fd, const char *fmt, ...) G_GNUC_PRINTF(2, 3);
42 bool qmp_rsp_is_err(QDict *rsp);
51 void qmp_expect_error_and_unref(QDict *rsp, const char *class);
H A Dlibqmp.c35 QDict *response;
58 qmp->response = qobject_to(QDict, obj); in qmp_response()
62 QDict *qmp_fd_receive(int fd) in qmp_fd_receive()
194 QDict *qmp_fdv(int fd, const char *fmt, va_list ap) in qmp_fdv()
201 QDict *qmp_fd(int fd, const char *fmt, ...) in qmp_fd()
204 QDict *response; in qmp_fd()
242 bool qmp_rsp_is_err(QDict *rsp) in qmp_rsp_is_err()
244 QDict *error = qdict_get_qdict(rsp, "error"); in qmp_rsp_is_err()
249 void qmp_expect_error_and_unref(QDict *rsp, const char *class) in qmp_expect_error_and_unref()
251 QDict *error = qdict_get_qdict(rsp, "error"); in qmp_expect_error_and_unref()
H A Dnuma-test.c84 QDict *resp; in test_query_cpus()
97 QDict *cpu, *props; in test_query_cpus()
122 QDict *resp; in pc_numa_cpu()
140 QDict *cpu, *props; in pc_numa_cpu()
176 QDict *resp; in spapr_numa_cpu()
193 QDict *cpu, *props; in spapr_numa_cpu()
221 QDict *resp; in aarch64_numa_cpu()
237 QDict *cpu, *props; in aarch64_numa_cpu()
271 QDict *resp; in loongarch64_numa_cpu()
287 QDict *cpu, *props; in loongarch64_numa_cpu()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-qmp-cmds.c145 QDict *req, *resp; in do_qmp_dispatch()
169 QDict *req, *resp; in do_qmp_dispatch_error()
170 QDict *error; in do_qmp_dispatch_error()
193 QDict *ret; in test_dispatch_cmd()
195 ret = qobject_to(QDict, in test_dispatch_cmd()
204 QDict *ret; in test_dispatch_cmd_oob()
229 QDict *resp; in test_dispatch_cmd_success_response()
275 QDict *ret; in test_dispatch_cmd_deprecated()
299 QDict *ret; in test_dispatch_cmd_arg_deprecated()
322 QDict *ret; in test_dispatch_cmd_ret_deprecated()
[all …]
H A Dcheck-qdict.c26 QDict *qdict; in qdict_new_test()
40 QDict *qdict; in qdict_put_obj_test()
59 QDict *qdict; in qdict_destroy_simple_test()
74 QDict *tests_dict = qdict_new(); in qdict_get_test()
92 QDict *tests_dict = qdict_new(); in qdict_get_int_test()
107 QDict *tests_dict = qdict_new(); in qdict_get_try_int_test()
129 QDict *tests_dict = qdict_new(); in qdict_get_str_test()
145 QDict *tests_dict = qdict_new(); in qdict_get_try_str_test()
158 QDict *tests_dict = qdict_new(); in qdict_haskey_not_test()
167 QDict *tests_dict = qdict_new(); in qdict_haskey_test()
[all …]
H A Dtest-qga.c124 QDict *error; in qmp_assertion_message_error()
234 QDict *ret; in test_qga_invalid_oob()
246 QDict *error; in test_qga_invalid_args()
283 QDict *val; in test_qga_info()
339 QDict *val; in test_qga_get_memory_block_info()
793 QDict *val; in wait_for_guest_exec_completion()
817 QDict *val; in test_qga_guest_exec()
854 QDict *val; in test_qga_guest_exec_merged()
877 QDict *val; in test_qga_guest_exec_separated()
919 QDict *val; in test_qga_guest_exec_merged()
[all …]
H A Dcheck-block-qdict.c18 QDict *dict, *copy; in qdict_defaults_test()
42 QDict *e_1_2 = qdict_new(); in qdict_flatten_test()
43 QDict *f = qdict_new(); in qdict_flatten_test()
45 QDict *z = qdict_new(); in qdict_flatten_test()
46 QDict *root = qdict_new(); in qdict_flatten_test()
132 QDict *cloned_dict1; in qdict_clone_flatten_test()
163 QDict *dict1, *dict2; in qdict_array_split_test()
346 QDict *dict1, *dict2; in qdict_join_test()
502 QDict *src, *dst; in qdict_crumple_test_empty()
529 QDict *copy; in qdict_rename_keys_test()
[all …]
/openbmc/qemu/include/qemu/
H A Dkeyval.h9 QDict *keyval_parse_into(QDict *qdict, const char *params, const char *implied_key,
11 QDict *keyval_parse(const char *params, const char *implied_key,
13 void keyval_merge(QDict *old, const QDict *new, Error **errp);
/openbmc/qemu/util/
H A Dkeyval.c145 static QObject *keyval_parse_put(QDict *cur, in keyval_parse_put()
191 QDict *cur; in keyval_parse_one()
252 cur = qobject_to(QDict, next); in keyval_parse_one()
322 static void keyval_do_merge(QDict *dest, const QDict *merged, GString *str, Error **errp) in keyval_do_merge()
339 keyval_do_merge(qobject_to(QDict, old_value), in keyval_do_merge()
340 qobject_to(QDict, ent->value), in keyval_do_merge()
386 void keyval_merge(QDict *dest, const QDict *merged, Error **errp) in keyval_merge()
407 QDict *qdict; in keyval_listify()
430 qdict = qobject_to(QDict, ent->value); in keyval_listify()
521 QDict *keyval_parse_into(QDict *qdict, const char *params, const char *implied_key, in keyval_parse_into()
[all …]
/openbmc/qemu/qapi/
H A Dqmp-dispatch.c44 static QDict *qmp_dispatch_check_obj(QDict *dict, bool allow_oob, in qmp_dispatch_check_obj()
93 QDict *qmp_error_response(Error *err) in qmp_error_response()
95 QDict *rsp; in qmp_error_response()
107 bool qmp_is_oob(const QDict *dict) in qmp_is_oob()
116 QDict *args;
137 QDict *coroutine_mixed_fn qmp_dispatch(const QmpCommandList *cmds, QObject *request, in qmp_dispatch()
143 QDict *args; in qmp_dispatch()
145 QDict *dict; in qmp_dispatch()
148 QDict *rsp = NULL; in qmp_dispatch()
150 dict = qobject_to(QDict, request); in qmp_dispatch()
H A Dqmp-event.c21 static void timestamp_put(QDict *qdict) in timestamp_put()
23 QDict *ts; in timestamp_put()
36 QDict *qmp_event_build_dict(const char *event_name) in qmp_event_build_dict()
38 QDict *dict = qdict_new(); in qmp_event_build_dict()
/openbmc/qemu/hw/core/
H A Dmachine-hmp-cmds.c28 void hmp_info_cpus(Monitor *mon, const QDict *qdict) in hmp_info_cpus()
49 void hmp_hotpluggable_cpus(Monitor *mon, const QDict *qdict) in hmp_hotpluggable_cpus()
107 void hmp_info_memdev(Monitor *mon, const QDict *qdict) in hmp_info_memdev()
148 void hmp_info_kvm(Monitor *mon, const QDict *qdict) in hmp_info_kvm()
163 void hmp_info_uuid(Monitor *mon, const QDict *qdict) in hmp_info_uuid()
172 void hmp_info_balloon(Monitor *mon, const QDict *qdict) in hmp_info_balloon()
187 void hmp_system_reset(Monitor *mon, const QDict *qdict) in hmp_system_reset()
197 void hmp_memsave(Monitor *mon, const QDict *qdict) in hmp_memsave()
214 void hmp_pmemsave(Monitor *mon, const QDict *qdict) in hmp_pmemsave()
233 void hmp_nmi(Monitor *mon, const QDict *qdict) in hmp_nmi()
[all …]

12345678910