Home
last modified time | relevance | path

Searched refs:qdict_get_try_str (Results 1 – 25 of 39) sorted by relevance

12

/openbmc/qemu/tests/unit/
H A Dtest-qga.c127 class = qdict_get_try_str(error, "class"); in qmp_assertion_message_error()
128 desc = qdict_get_try_str(error, "desc"); in qmp_assertion_message_error()
254 class = qdict_get_try_str(error, "class"); in test_qga_invalid_args()
255 desc = qdict_get_try_str(error, "desc"); in test_qga_invalid_args()
272 class = qdict_get_try_str(error, "class"); in test_qga_invalid_cmd()
273 desc = qdict_get_try_str(error, "desc"); in test_qga_invalid_cmd()
291 version = qdict_get_try_str(val, "version"); in test_qga_info()
645 class = qdict_get_try_str(error, "class"); in test_qga_blockedrpcs()
646 desc = qdict_get_try_str(error, "desc"); in test_qga_blockedrpcs()
654 class = qdict_get_try_str(error, "class"); in test_qga_blockedrpcs()
[all …]
H A Dtest-keyval.c74 g_assert_cmpstr(qdict_get_try_str(qdict, long_key + 1), ==, "v"); in test_keyval_parse()
83 g_assert_cmpstr(qdict_get_try_str(sub_qdict, long_key + 1), ==, "v"); in test_keyval_parse()
95 g_assert_cmpstr(qdict_get_try_str(qdict, "a"), ==, "3"); in test_keyval_parse()
96 g_assert_cmpstr(qdict_get_try_str(qdict, "b"), ==, "2,x"); in test_keyval_parse()
102 g_assert_cmpstr(qdict_get_try_str(qdict, "id"), ==, "bar"); in test_keyval_parse()
114 g_assert_cmpstr(qdict_get_try_str(sub_qdict, "c"), ==, "2"); in test_keyval_parse()
115 g_assert_cmpstr(qdict_get_try_str(qdict, "d"), ==, "3"); in test_keyval_parse()
129 g_assert_cmpstr(qdict_get_try_str(qdict, "x"), ==, "y"); in test_keyval_parse()
140 g_assert_cmpstr(qdict_get_try_str(qdict, "x"), ==, ",id=bar"); in test_keyval_parse()
146 g_assert_cmpstr(qdict_get_try_str(qdict, "id"), ==, "666"); in test_keyval_parse()
[all …]
H A Dtest-qmp-cmds.c180 g_assert_cmpstr(qdict_get_try_str(error, "class"), in do_qmp_dispatch_error()
182 g_assert(qdict_get_try_str(error, "desc")); in do_qmp_dispatch_error()
H A Dcheck-qdict.c149 p = qdict_get_try_str(tests_dict, key); in qdict_get_try_str_test()
/openbmc/qemu/trace/
H A Dtrace-hmp-cmds.c52 const char *op = qdict_get_try_str(qdict, "op"); in hmp_trace_file()
53 const char *arg = qdict_get_try_str(qdict, "arg"); in hmp_trace_file()
76 const char *name = qdict_get_try_str(qdict, "name"); in hmp_info_trace_events()
/openbmc/qemu/ui/
H A Dui-hmp-cmds.c36 const char *dz_str = qdict_get_try_str(qdict, "dz_str"); in hmp_mouse_move()
265 const char *display = qdict_get_try_str(qdict, "display"); in hmp_set_password()
266 const char *connected = qdict_get_try_str(qdict, "connected"); in hmp_set_password()
300 const char *display = qdict_get_try_str(qdict, "display"); in hmp_expire_password()
445 const char *id = qdict_get_try_str(qdict, "device"); in hmp_screendump()
447 const char *input_format = qdict_get_try_str(qdict, "format"); in hmp_screendump()
473 const char *cert_subject = qdict_get_try_str(qdict, "cert-subject"); in hmp_client_migrate_info()
/openbmc/qemu/net/
H A Dnet-hmp-cmds.c69 const char *interfaces_str = qdict_get_try_str(qdict, "interfaces"); in hmp_announce_self()
70 const char *id = qdict_get_try_str(qdict, "id"); in hmp_announce_self()
86 const char *type = qdict_get_try_str(qdict, "type"); in hmp_netdev_add()
/openbmc/qemu/monitor/
H A Dhmp-cmds.c98 const char *op = qdict_get_try_str(qdict, "op"); in hmp_sync_profile()
153 const char *arg = qdict_get_try_str(qdict, "arg"); in hmp_change()
154 const char *read_only = qdict_get_try_str(qdict, "read-only-mode"); in hmp_change()
212 hmp_help_cmd(mon, qdict_get_try_str(qdict, "name")); in hmp_help()
283 const char *device = qdict_get_try_str(qdict, "device"); in hmp_gdbserver()
/openbmc/qemu/tests/qtest/
H A Dqmp-test.c151 g_assert_cmpstr(qdict_get_try_str(resp, "id"), ==, "cookie#1"); in test_qmp_protocol()
214 g_assert_cmpstr(qdict_get_try_str(resp, "id"), ==, id); in recv_cmd_id()
304 g_assert_cmpstr(qdict_get_try_str(ret, "status"), ==, "prelaunch"); in test_qmp_preconfig()
315 g_assert_cmpstr(qdict_get_try_str(ret, "status"), ==, "running"); in test_qmp_preconfig()
H A Dboot-sector.c165 if (qdict_get_try_str(qret, "status")) { in boot_sector_test()
166 g_assert_cmpstr(qdict_get_try_str(qret, "status"), ==, "running"); in boot_sector_test()
H A Dlibqmp.c253 g_assert_cmpstr(qdict_get_try_str(error, "class"), ==, class); in qmp_expect_error_and_unref()
254 g_assert_nonnull(qdict_get_try_str(error, "desc")); in qmp_expect_error_and_unref()
H A Ddevice-introspect-test.c250 type = qdict_get_try_str(qobject_to(QDict, qlist_entry_obj(entry)), in test_device_intro_concrete()
/openbmc/qemu/block/monitor/
H A Dblock-hmp-cmds.c74 if (!qdict_get_try_str(qdict, "node-name")) { in hmp_drive_add_node()
233 const char *format = qdict_get_try_str(qdict, "format"); in hmp_drive_mirror()
260 const char *format = qdict_get_try_str(qdict, "format"); in hmp_drive_backup()
341 const char *filename = qdict_get_try_str(qdict, "snapshot-file"); in hmp_snapshot_blkdev()
342 const char *format = qdict_get_try_str(qdict, "format"); in hmp_snapshot_blkdev()
377 const char *id = qdict_get_try_str(qdict, "id"); in hmp_snapshot_delete_blkdev_internal()
449 const char *name = qdict_get_try_str(qdict, "name"); in hmp_nbd_server_add()
497 const char *base = qdict_get_try_str(qdict, "base"); in hmp_block_stream()
730 const char *device = qdict_get_try_str(qdict, "device"); in hmp_info_block()
/openbmc/qemu/hw/virtio/
H A Dvirtio-hmp-cmds.c110 const char *path = qdict_get_try_str(qdict, "path"); in hmp_virtio_status()
190 const char *path = qdict_get_try_str(qdict, "path"); in hmp_vhost_queue_status()
226 const char *path = qdict_get_try_str(qdict, "path"); in hmp_virtio_queue_status()
271 const char *path = qdict_get_try_str(qdict, "path"); in hmp_virtio_queue_element()
/openbmc/qemu/hw/block/
H A Dxen-block.c810 const char *driver = qdict_get_try_str(qdict, "driver"); in xen_block_blockdev_add()
873 const char *params = qdict_get_try_str(opts, "params"); in xen_block_drive_create()
874 const char *mode = qdict_get_try_str(opts, "mode"); in xen_block_drive_create()
875 const char *direct_io_safe = qdict_get_try_str(opts, "direct-io-safe"); in xen_block_drive_create()
876 const char *discard_enable = qdict_get_try_str(opts, "discard-enable"); in xen_block_drive_create()
1045 vdev = qdict_get_try_str(opts, "dev"); in xen_block_device_create()
1051 device_type = qdict_get_try_str(opts, "device-type"); in xen_block_device_create()
/openbmc/qemu/block/
H A Drbd.c845 loc->pool = g_strdup(qdict_get_try_str(options, "pool")); in qemu_rbd_co_create_opts()
846 loc->conf = g_strdup(qdict_get_try_str(options, "conf")); in qemu_rbd_co_create_opts()
847 loc->user = g_strdup(qdict_get_try_str(options, "user")); in qemu_rbd_co_create_opts()
848 loc->q_namespace = g_strdup(qdict_get_try_str(options, "namespace")); in qemu_rbd_co_create_opts()
849 loc->image = g_strdup(qdict_get_try_str(options, "image")); in qemu_rbd_co_create_opts()
850 keypairs = qdict_get_try_str(options, "=keyvalue-pairs"); in qemu_rbd_co_create_opts()
1044 filename = g_strdup(qdict_get_try_str(options, "filename")); in qemu_rbd_attempt_legacy_options()
1053 *keypairs = g_strdup(qdict_get_try_str(options, "=keyvalue-pairs")); in qemu_rbd_attempt_legacy_options()
1075 keypairs = g_strdup(qdict_get_try_str(options, "=keyvalue-pairs")); in qemu_rbd_open()
1080 secretid = g_strdup(qdict_get_try_str(options, "password-secret")); in qemu_rbd_open()
H A Dcopy-on-read.c44 const char *bottom_node = qdict_get_try_str(options, "bottom"); in cor_open()
H A Dqcow.c123 encryptfmt = qdict_get_try_str(encryptopts, "format"); in qcow_open()
963 val = qdict_get_try_str(qdict, BLOCK_OPT_ENCRYPT); in qcow_co_create_opts()
970 val = qdict_get_try_str(qdict, BLOCK_OPT_ENCRYPT_FORMAT); in qcow_co_create_opts()
/openbmc/qemu/qom/
H A Dqom-hmp-cmds.c22 const char *path = qdict_get_try_str(qdict, "path"); in hmp_qom_list()
136 const char *path = qdict_get_try_str(dict, "path"); in hmp_info_qom_tree()
/openbmc/qemu/stats/
H A Dstats-hmp-cmds.c193 const char *provider_str = qdict_get_try_str(qdict, "provider"); in hmp_info_stats()
194 const char *names = qdict_get_try_str(qdict, "names"); in hmp_info_stats()
/openbmc/qemu/system/
H A Drunstate-hmp-cmds.c45 const char *option = qdict_get_try_str(qdict, "option"); in hmp_one_insn_per_tb()
H A Dvl.c539 const char *driver = qdict_get_try_str(opt->opts, "driver"); in default_driver_check_json()
1565 const char *type = qdict_get_try_str(qdict, "type"); in machine_help_func()
1676 const char *machine_type = qdict_get_try_str(qdict, "type"); in select_machine()
1752 value = qdict_get_try_str(qdict, "accel"); in qemu_apply_legacy_machine_options()
1758 value = qdict_get_try_str(qdict, "igd-passthru"); in qemu_apply_legacy_machine_options()
1765 value = qdict_get_try_str(qdict, "kvm-shadow-mem"); in qemu_apply_legacy_machine_options()
1772 value = qdict_get_try_str(qdict, "kernel-irqchip"); in qemu_apply_legacy_machine_options()
1781 value = qdict_get_try_str(qdict, "memory-backend"); in qemu_apply_legacy_machine_options()
2428 const char *kernel_filename = qdict_get_try_str(machine_opts, "kernel"); in qemu_validate_options()
2429 const char *initrd_filename = qdict_get_try_str(machine_opts, "initrd"); in qemu_validate_options()
[all …]
H A Dqdev-monitor.c635 driver = qdict_get_try_str(opts, "driver"); in qdev_device_add_from_qdict()
648 path = qdict_get_try_str(opts, "bus"); in qdev_device_add_from_qdict()
709 id = g_strdup(qdict_get_try_str(opts, "id")); in qdev_device_add_from_qdict()
/openbmc/qemu/include/qapi/qmp/
H A Dqdict.h67 const char *qdict_get_try_str(const QDict *qdict, const char *key);
/openbmc/qemu/qapi/
H A Dqmp-dispatch.c163 command = qdict_get_try_str(dict, "execute"); in qmp_dispatch()

12