]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/qtest: qtest_qemu_args
authorSteve Sistare <steven.sistare@oracle.com>
Wed, 1 Oct 2025 15:34:02 +0000 (08:34 -0700)
committerFabiano Rosas <farosas@suse.de>
Wed, 1 Oct 2025 20:09:22 +0000 (17:09 -0300)
commitb4a21e457409f972abca2818d78cdf22d59544f5
tree93f9647697331f49245cd7b8e70d583c5a53a381
parent8e9f9981d6846515b2540439a80a0e16f93d4bd3
tests/qtest: qtest_qemu_args

Define an accessor that returns all the arguments used to exec QEMU.
Collect the arguments that were passed to qtest_spawn_qemu, plus the trace
arguments that were composed inside qtest_spawn_qemu, and move them to a
new function qtest_qemu_args.

This will be needed to test the cpr-exec migration mode.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/qemu-devel/1759332851-370353-11-git-send-email-steven.sistare@oracle.com
Signed-off-by: Fabiano Rosas <farosas@suse.de>
tests/qtest/libqtest.c
tests/qtest/libqtest.h