Searched refs:qmp_fd (Results 1 – 4 of 4) sorted by relevance
/qemu/tests/unit/ |
H A D | test-qga.c | 199 ret = qmp_fd(fixture->fd, in test_qga_sync() 215 ret = qmp_fd(fixture->fd, "{'execute': 'guest-ping'}"); in test_qga_ping() 225 ret = qmp_fd(fixture->fd, "{'execute': 'guest-ping', 'id': 1}"); in test_qga_id() 236 ret = qmp_fd(fixture->fd, "{'exec-oob': 'guest-ping'}"); in test_qga_invalid_oob() 249 ret = qmp_fd(fixture->fd, "{'execute': 'guest-ping', " in test_qga_invalid_args() 268 ret = qmp_fd(fixture->fd, "{'execute': 'guest-invalid-cmd'}"); in test_qga_invalid_cmd() 286 ret = qmp_fd(fixture->fd, "{'execute': 'guest-info'}"); in test_qga_info() 302 ret = qmp_fd(fixture->fd, "{'execute': 'guest-get-vcpus'}"); in test_qga_get_vcpus() 320 ret = qmp_fd(fixture->fd, "{'execute': 'guest-get-fsinfo'}"); in test_qga_get_fsinfo() 342 ret = qmp_fd(fixture->fd, "{'execute': 'guest-get-memory-block-info'}"); in test_qga_get_memory_block_info() [all …]
|
/qemu/tests/qtest/ |
H A D | libqtest.c | 78 int qmp_fd; member 514 s->qmp_fd = -1; in qtest_init_internal() 546 s->qmp_fd = socket_accept(s->qmpsock); in qtest_connect() 550 g_assert(s->fd >= 0 && s->qmp_fd >= 0); in qtest_connect() 655 close(s->qmp_fd); in qtest_quit() 807 g_assert(s->qmp_fd >= 0); in qtest_qmp_receive_dict() 808 return qmp_fd_receive(s->qmp_fd); in qtest_qmp_receive_dict() 835 g_assert(s->qmp_fd >= 0); in qtest_qmp_vsend_fds() 836 qmp_fd_vsend_fds(s->qmp_fd, fds, fds_num, fmt, ap); in qtest_qmp_vsend_fds() 842 g_assert(s->qmp_fd >= 0); in qtest_qmp_vsend() [all …]
|
H A D | libqmp.h | 33 QDict *qmp_fd(int fd, const char *fmt, ...) G_GNUC_PRINTF(2, 3);
|
H A D | libqmp.c | 201 QDict *qmp_fd(int fd, const char *fmt, ...) in qmp_fd() function
|