Home
last modified time | relevance | path

Searched refs:qtest_qmp (Results 1 – 25 of 30) sorted by relevance

12

/qemu/tests/qtest/
H A Dnuma-test.c76 *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 Dqmp-test.c40 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 Dqmp-cmd-test.c78 resp = qtest_qmp(qts, "{ 'execute': %s }", cmd); in test_query()
142 resp = qtest_qmp(qts, "{ 'execute': 'query-qmp-schema' }"); in qmp_schema_init()
226 resp = qtest_qmp(qts, "{'execute': 'object-add', 'arguments':" in test_object_add_failure_modes()
232 resp = qtest_qmp(qts, "{'execute': 'object-add', 'arguments':" in test_object_add_failure_modes()
238 resp = qtest_qmp(qts, "{'execute': 'object-del', 'arguments':" in test_object_add_failure_modes()
244 resp = qtest_qmp(qts, "{'execute': 'object-add', 'arguments':" in test_object_add_failure_modes()
251 resp = qtest_qmp(qts, "{'execute': 'object-add', 'arguments':" in test_object_add_failure_modes()
258 resp = qtest_qmp(qts, "{'execute': 'object-del', 'arguments':" in test_object_add_failure_modes()
265 resp = qtest_qmp(qts, "{'execute': 'object-add', 'arguments':" in test_object_add_failure_modes()
272 resp = qtest_qmp(qts, "{'execute': 'object-add', 'arguments':" in test_object_add_failure_modes()
[all …]
H A Dqom-test.c30 response = qtest_qmp(qts, "{ 'execute': 'qom-list'," in test_properties()
59 tmp = qtest_qmp(qts, in test_properties()
95 response = qtest_qmp(qts, "{ 'execute': 'qom-list-properties'," in test_machine()
104 response = qtest_qmp(qts, "{ 'execute': 'quit' }"); in test_machine()
H A Dreadconfig-test.c82 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 Dvirtio-net-failover.c83 resp = qtest_qmp(qts, "{'execute': 'device_add'," in test_error_id()
112 resp = qtest_qmp(qts, "{'execute': 'device_add'," in test_error_pcie()
187 resp = qtest_qmp(qts, "{ 'execute': 'query-pci' }"); in get_bus()
217 resp = qtest_qmp(qts, "{ 'execute': 'qom-get', " in get_mac()
598 resp = qtest_qmp(qts, "{ 'execute': 'query-migrate' }"); in migrate_status()
670 resp = qtest_qmp(qts, "{ 'execute': 'migrate', 'arguments': %p}", args); in test_migrate_out()
839 resp = qtest_qmp(qts, "{ 'execute': 'migrate', 'arguments': %p}", args); in test_off_migrate_out()
963 resp = qtest_qmp(qts, "{ 'execute': 'migrate', 'arguments': %p}", args); in test_guest_off_migrate_out()
1090 resp = qtest_qmp(qts, "{ 'execute': 'migrate', 'arguments': %p}", args); in test_migrate_guest_off_abort()
1111 resp = qtest_qmp(qts, "{ 'execute': 'migrate_cancel' }"); in test_migrate_guest_off_abort()
[all …]
H A Ddrive_del-test.c28 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()
203 response = qtest_qmp(qts, "{'execute': 'device_add'," in test_after_failed_device_add()
357 qtest_qmp(qts, "{'execute': 'device_add'," in device_add_q35()
H A Darm-cpu-features.c31 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 Dtpm-util.c186 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 Dstm32l4x5.h34 r = qtest_qmp(qts, "{ 'execute': 'qom-get', 'arguments':" in get_clock_period()
H A Dlibqtest.c879 QDict *qtest_qmp(QTestState *s, const char *fmt, ...) in qtest_qmp() function
966 resp = qtest_qmp(s, "{'execute': 'human-monitor-command'," in qtest_vhmp()
1027 resp = qtest_qmp(qts, "{'execute': 'qom-list-types', 'arguments': %p }", in qtest_qom_has_concrete_type()
1658 response = qtest_qmp(qts, "{ 'execute': 'query-machines' }"); in qtest_get_machines()
1713 response = qtest_qmp(qts, "{ 'execute': 'query-cpu-definitions' }"); in qtest_get_cpu_models()
1850 resp = qtest_qmp(qts, "{'execute': 'device_add', 'arguments': %p}", args); in qtest_qmp_device_add_qdict()
1894 resp = qtest_qmp(qts, "{'execute': 'get-win32-socket'," in qtest_qmp_add_client()
1905 resp = qtest_qmp( in qtest_qmp_add_client()
1932 QDict *rsp = qtest_qmp(qts, "{'execute': 'device_del', " in qtest_qmp_device_del_send()
2024 r = qtest_qmp(s, "{ 'execute': 'qom-set', 'arguments': " in qtest_qom_set_bool()
[all …]
H A Dmachine-none-test.c84 response = qtest_qmp(qts, "{ 'execute': 'quit' }"); in test_machine_cpu_cli()
H A Dtpm-emu.c219 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 Dintel-iommu-test.c48 qobject_unref(qtest_qmp(s, "{ 'execute': 'system_reset' }")); in test_intel_iommu_stage_1()
H A Ddevice-introspect-test.c39 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 Dwdt_ib700-test.c17 QDict *resp = qtest_qmp(s, "{'execute':'query-status'}"); in qmp_check_no_event()
H A Dboot-sector.c162 qrsp = qtest_qmp(qts, "{ 'execute': 'query-status' }"); in boot_sector_test()
H A Dvmgenid-test.c99 rsp = qtest_qmp(qts, "{ 'execute': 'query-vm-generation-id' }"); in read_guid_from_monitor()
H A Dcpu-plug-test.c43 resp = qtest_qmp(qts, "{ 'execute': 'query-hotpluggable-cpus'}"); in test_plug_with_device_add()
H A Dstm32l4x5_gpio-test.c137 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()
H A Dnpcm7xx_pwm-test.c229 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 Dlibqtest.h191 QDict *qtest_qmp(QTestState *s, const char *fmt, ...)
/qemu/tests/qtest/libqos/
H A Dlibqos.c76 return qtest_qmp(qts, "{ 'execute': %s }", command); in qmp_execute()
94 rsp = qtest_qmp(from->qts, in migrate()
/qemu/tests/qtest/migration/
H A Dprecopy-tests.c277 rsp = qtest_qmp(from, in migrate_hook_end_fd()
285 rsp = qtest_qmp(to, in migrate_hook_end_fd()
859 rsp = qtest_qmp(who, "{ 'execute': 'query-vcpu-dirty-limit' }"); in query_vcpu_dirty_limit()
H A Dfile-tests.c222 resp = qtest_qmp(from, "{'execute': 'query-fdsets', " in migrate_hook_end_multifd_mapped_ram_fdset()

12