/openbmc/qemu/tests/qtest/ |
H A D | numa-test.c | 76 *resp = qtest_qmp(qts, "{ 'execute': 'query-cpus-fast' }"); in get_cpus() 330 g_assert(!qmp_rsp_is_err(qtest_qmp(qs, "{ 'execute': 'set-numa-node'," in pc_dynamic_cpu_cfg() 332 g_assert(!qmp_rsp_is_err(qtest_qmp(qs, "{ 'execute': 'set-numa-node'," in pc_dynamic_cpu_cfg() 338 g_assert(!qmp_rsp_is_err(qtest_qmp(qs, "{ 'execute': 'set-numa-node'," in pc_dynamic_cpu_cfg() 340 g_assert(!qmp_rsp_is_err(qtest_qmp(qs, "{ 'execute': 'set-numa-node'," in pc_dynamic_cpu_cfg() 344 g_assert(!qmp_rsp_is_err(qtest_qmp(qs, "{ 'execute': 'x-exit-preconfig' }"))); in pc_dynamic_cpu_cfg() 348 resp = qtest_qmp(qs, "{ 'execute': 'query-hotpluggable-cpus'}"); in pc_dynamic_cpu_cfg() 396 g_assert_true(qmp_rsp_is_err(qtest_qmp(qs, "{ 'execute': 'set-numa-node'," in pc_hmat_build_cfg() 401 g_assert_true(qmp_rsp_is_err(qtest_qmp(qs, "{ 'execute': 'set-numa-node'," in pc_hmat_build_cfg() 406 g_assert_true(qmp_rsp_is_err(qtest_qmp(qs, "{ 'execute': 'set-numa-node'," in pc_hmat_build_cfg() [all …]
|
H A D | qmp-test.c | 40 resp = qtest_qmp(qts, "{ 'execute': 'no-such-cmd' }"); in assert_recovered() 85 resp = qtest_qmp(qts, "null"); in test_malformed() 89 resp = qtest_qmp(qts, "{}"); in test_malformed() 93 resp = qtest_qmp(qts, "{ 'execute': true }"); in test_malformed() 97 resp = qtest_qmp(qts, "{ 'execute': 'no-such-cmd', 'arguments': [] }"); in test_malformed() 101 resp = qtest_qmp(qts, "{ 'execute': 'no-such-cmd', 'extra': true }"); in test_malformed() 123 resp = qtest_qmp(qts, "{ 'execute': 'query-version' }"); in test_qmp_protocol() 130 resp = qtest_qmp(qts, "{ 'execute': 'qmp_capabilities' }"); in test_qmp_protocol() 136 resp = qtest_qmp(qts, "{ 'execute': 'qmp_capabilities' }"); in test_qmp_protocol() 140 resp = qtest_qmp(qts, "{ 'execute': 'query-version' }"); in test_qmp_protocol() [all …]
|
H A D | qmp-cmd-test.c | 78 resp = qtest_qmp(qts, "{ 'execute': %s }", cmd); in test_query() 141 resp = qtest_qmp(qts, "{ 'execute': 'query-qmp-schema' }"); in qmp_schema_init() 225 resp = qtest_qmp(qts, "{'execute': 'object-add', 'arguments':" in test_object_add_failure_modes() 231 resp = qtest_qmp(qts, "{'execute': 'object-add', 'arguments':" in test_object_add_failure_modes() 237 resp = qtest_qmp(qts, "{'execute': 'object-del', 'arguments':" in test_object_add_failure_modes() 243 resp = qtest_qmp(qts, "{'execute': 'object-add', 'arguments':" in test_object_add_failure_modes() 250 resp = qtest_qmp(qts, "{'execute': 'object-add', 'arguments':" in test_object_add_failure_modes() 257 resp = qtest_qmp(qts, "{'execute': 'object-del', 'arguments':" in test_object_add_failure_modes() 264 resp = qtest_qmp(qts, "{'execute': 'object-add', 'arguments':" in test_object_add_failure_modes() 271 resp = qtest_qmp(qts, "{'execute': 'object-add', 'arguments':" in test_object_add_failure_modes() [all …]
|
H A D | readconfig-test.c | 82 resp = qtest_qmp(qts, "{ 'execute': 'query-memdev' }"); in test_x86_memdev() 119 resp = qtest_qmp(qts, "{ 'execute': 'query-spice' }"); in test_spice() 171 resp = qtest_qmp(qts, in test_object_rng() 188 resp = qtest_qmp(qts, "{ 'execute': 'qom-list'," in test_docs_config_ich9() 277 resp = qtest_qmp(qts, "{ 'execute': 'query-memdev' }"); in test_docs_q35() 281 resp = qtest_qmp(qts, "{ 'execute': 'qom-list'," in test_docs_q35()
|
H A D | drive_del-test.c | 28 response = qtest_qmp(qts, "{'execute': %s}", command); in look_for_drive0() 72 response = qtest_qmp(qts, in blockdev_add_with_media() 144 qtest_qmp(qts, "{'execute': 'device_add'," in device_add() 162 response = qtest_qmp(qts, "{'execute': 'system_reset' }"); in device_del() 208 response = qtest_qmp(qts, "{'execute': 'device_add'," in test_after_failed_device_add() 362 qtest_qmp(qts, "{'execute': 'device_add'," in device_add_q35()
|
H A D | virtio-net-failover.c | 82 resp = qtest_qmp(qts, "{'execute': 'device_add'," in test_error_id() 111 resp = qtest_qmp(qts, "{'execute': 'device_add'," in test_error_pcie() 186 resp = qtest_qmp(qts, "{ 'execute': 'query-pci' }"); in get_bus() 216 resp = qtest_qmp(qts, "{ 'execute': 'qom-get', " in get_mac() 597 resp = qtest_qmp(qts, "{ 'execute': 'query-migrate' }"); in migrate_status() 669 resp = qtest_qmp(qts, "{ 'execute': 'migrate', 'arguments': %p}", args); in test_migrate_out() 838 resp = qtest_qmp(qts, "{ 'execute': 'migrate', 'arguments': %p}", args); in test_off_migrate_out() 962 resp = qtest_qmp(qts, "{ 'execute': 'migrate', 'arguments': %p}", args); in test_guest_off_migrate_out() 1089 resp = qtest_qmp(qts, "{ 'execute': 'migrate', 'arguments': %p}", args); in test_migrate_guest_off_abort() 1110 resp = qtest_qmp(qts, "{ 'execute': 'migrate_cancel' }"); in test_migrate_guest_off_abort() [all …]
|
H A D | qom-test.c | 30 response = qtest_qmp(qts, "{ 'execute': 'qom-list'," in test_properties() 59 tmp = qtest_qmp(qts, in test_properties() 93 response = qtest_qmp(qts, "{ 'execute': 'quit' }"); in test_machine()
|
H A D | arm-cpu-features.c | 31 return qtest_qmp(qts, QUERY_HEAD "'model': { 'name': %s }" in do_query_no_props() 49 resp = qtest_qmp(qts, QUERY_HEAD "'model': { 'name': %s, " in do_query() 191 resp = qtest_qmp(qts, "{ 'execute': 'query-cpu-model-expansion', " in assert_type_full() 207 resp = qtest_qmp(qts, "{ 'execute': 'query-cpu-model-expansion', " in assert_bad_props()
|
H A D | stm32l4x5.h | 34 r = qtest_qmp(qts, "{ 'execute': 'qom-get', 'arguments':" in get_clock_period()
|
H A D | tpm-util.c | 186 rsp = qtest_qmp(who, in tpm_util_migrate() 201 rsp = qtest_qmp(who, "{ 'execute': 'query-migrate' }"); in tpm_util_wait_for_migration_complete()
|
H A D | libqtest.c | 538 qobject_unref(qtest_qmp(s, "{ 'execute': 'qmp_capabilities' }")); in qtest_init_with_env() 824 QDict *qtest_qmp(QTestState *s, const char *fmt, ...) in qtest_qmp() function 910 resp = qtest_qmp(s, "{'execute': 'human-monitor-command'," in qtest_vhmp() 1527 response = qtest_qmp(qts, "{ 'execute': 'query-machines' }"); in qtest_get_machines() 1582 response = qtest_qmp(qts, "{ 'execute': 'query-cpu-definitions' }"); in qtest_get_cpu_models() 1718 resp = qtest_qmp(qts, "{'execute': 'qom-list-types', 'arguments': %p }", in qtest_has_device() 1755 resp = qtest_qmp(qts, "{'execute': 'device_add', 'arguments': %p}", args); in qtest_qmp_device_add_qdict() 1799 resp = qtest_qmp(qts, "{'execute': 'get-win32-socket'," in qtest_qmp_add_client() 1810 resp = qtest_qmp( in qtest_qmp_add_client() 1837 QDict *rsp = qtest_qmp(qts, "{'execute': 'device_del', " in qtest_qmp_device_del_send() [all …]
|
H A D | machine-none-test.c | 84 response = qtest_qmp(qts, "{ 'execute': 'quit' }"); in test_machine_cpu_cli()
|
H A D | tpm-emu.c | 219 rsp_tpm = qtest_qmp(qts, "{ 'execute': 'query-tpm'}"); in tpm_model_is_available() 221 QDict *rsp_models = qtest_qmp(qts, in tpm_model_is_available()
|
H A D | q35-test.c | 110 response = qtest_qmp(qts, "{'execute': 'system_reset', 'arguments': {} }"); in test_smram_lock() 240 response = qtest_qmp(qts, "{'execute': 'system_reset', 'arguments': {} }"); in test_smram_smbase_lock()
|
H A D | device-introspect-test.c | 39 resp = qtest_qmp(qts, "{'execute': 'qom-list-types', 'arguments': %p }", in qom_list_types() 111 resp = qtest_qmp(qts, "{'execute': 'device-list-properties'," in test_one_device()
|
H A D | wdt_ib700-test.c | 17 QDict *resp = qtest_qmp(s, "{'execute':'query-status'}"); in qmp_check_no_event()
|
H A D | boot-sector.c | 162 qrsp = qtest_qmp(qts, "{ 'execute': 'query-status' }"); in boot_sector_test()
|
H A D | stm32l4x5_gpio-test.c | 137 r = qtest_qmp(global_qtest, "{ 'execute': 'qom-set', 'arguments': " in disconnect_all_pins() 151 r = qtest_qmp(global_qtest, "{ 'execute': 'qom-get', 'arguments':" in get_disconnected_pins() 175 r = qtest_qmp(global_qtest, "{'execute': 'system_reset'}"); in system_reset()
|
H A D | device-plug-test.c | 22 resp = qtest_qmp(qtest, "{'execute': 'system_reset'}"); in system_reset()
|
H A D | vmgenid-test.c | 99 rsp = qtest_qmp(qts, "{ 'execute': 'query-vm-generation-id' }"); in read_guid_from_monitor()
|
H A D | cpu-plug-test.c | 43 resp = qtest_qmp(qts, "{ 'execute': 'query-hotpluggable-cpus'}"); in test_plug_with_device_add()
|
H A D | stm32l4x5_syscfg-test.c | 53 response = qtest_qmp(global_qtest, "{'execute': 'system_reset'}"); in system_reset()
|
H A D | npcm7xx_pwm-test.c | 229 response = qtest_qmp(qts, "{ 'execute': 'qom-get'," in pwm_qom_get() 271 response = qtest_qmp(qts, "{ 'execute': 'qom-set'," in mft_qom_set()
|
H A D | libqtest.h | 145 QDict *qtest_qmp(QTestState *s, const char *fmt, ...)
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | libqos.c | 76 return qtest_qmp(qts, "{ 'execute': %s }", command); in qmp_execute() 94 rsp = qtest_qmp(from->qts, in migrate()
|