]> www.infradead.org Git - users/dwmw2/qemu.git/commit
tests/qtest: defer connection
authorSteve Sistare <steven.sistare@oracle.com>
Wed, 15 Jan 2025 19:00:45 +0000 (11:00 -0800)
committerFabiano Rosas <farosas@suse.de>
Wed, 29 Jan 2025 14:56:39 +0000 (11:56 -0300)
commit5357ef823a1f53673eae3e0a9a0d626bc104f8a7
tree7cdcad32b0a1290090f53d0e97f4b8d2e5aec0b8
parent903a65120d347d7584726c01072b7e82826459c1
tests/qtest: defer connection

Add an option to defer making the connecting to the monitor and qtest
sockets when calling qtest_init_with_env.  The client makes the connection
later by calling qtest_connect and qtest_qmp_handshake.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Link: https://lore.kernel.org/r/1736967650-129648-20-git-send-email-steven.sistare@oracle.com
[plumb capabilities list into qtest_qmp_handshake]
Signed-off-by: Fabiano Rosas <farosas@suse.de>
tests/qtest/libqtest.c
tests/qtest/libqtest.h
tests/qtest/migration/framework.c