diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> | 2025-04-10 19:22:50 +0300 |
---|---|---|
committer | Fabiano Rosas <farosas@suse.de> | 2025-05-09 16:14:30 -0300 |
commit | 246069e850327b3d5c7f460461fc0bbf0f817654 (patch) | |
tree | fa32f82a5da3a16d338cd2d570d7eeea740af79e /scripts/vmstate-static-checker.py | |
parent | 4b1f5b73e060971c434e70694d571adfee553027 (diff) | |
download | qemu-246069e850327b3d5c7f460461fc0bbf0f817654.zip qemu-246069e850327b3d5c7f460461fc0bbf0f817654.tar.gz qemu-246069e850327b3d5c7f460461fc0bbf0f817654.tar.bz2 |
qtest: introduce qtest_init_ext
Merge qtest_init_with_env_and_capabilities() and qtest_init_with_env()
into one qtest_init_ext().
Reasons:
1. qtest_init_with_env() is just wrong: it gets do_connect parameter
but always pass true to qtest_init_with_env_and_capabilities().
Happily, all qtest_init_with_env() callers pass true as well.
2. qtest_init_with_env() is not used outside of libqtest.c, so no
reason to keep it as public function
3. and in libqtest.c it's used not often, so no problem to use
more generic function instead.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Message-ID: <20250410162250.329941-1-vsementsov@yandex-team.ru>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'scripts/vmstate-static-checker.py')
0 files changed, 0 insertions, 0 deletions