tests/qtest: Pass down do_connect param in qtest_init_with_env()
PATCH 1/1 tests/qtest: Pass down do_connect param in qtest_init_with_env()
The @do_connect parameter of qtest_init_with_env() is not used. Fix it by passing it down to qtest_init_with_env_and_capabilities() instead of hard coding a true.
--- tests/qtest/libqtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/qtest/libqtest.c +1 -1
@@ -597,7 +597,7 @@ QTestState *qtest_init_with_env_and_capabilities(const char *var,QTestState *qtest_init_with_env (const char *var,const char *extra_args,bool do_connect) { -return qtest_init_with_env_and_capabilities (var, extra_args,NULL , true); +return qtest_init_with_env_and_capabilities (var, extra_args,NULL , do_connect); }QTestState *qtest_init (const char *extra_args)
Signature · 1 line
2.34.1
Quoted 9 lines · Xiaoyao Li
The @do_connect parameter of
qtest_init_with_env()is not used. Fix it by passing it down toqtest_init_with_env_and_capabilities()instead of hard coding a true.Fixes 5357ef823a1f ("tests/qtest: defer connection")Signed-off-by Xiaoyao Li <[email protected]>--- tests/qtest/libqtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 5 lines · Philippe Mathieu-Daudé
Quoted 4 lines · Xiaoyao Li
The @do_connect parameter of
qtest_init_with_env()is not used. Fix it by passing it down toqtest_init_with_env_and_capabilities()instead of hard coding a true.
Quoted 8 lines
Quoted 5 lines
Fixes 5357ef823a1f ("tests/qtest: defer connection")Signed-off-by Xiaoyao Li <[email protected]>---
tests/qtest/libqtest.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)Reviewed-by Philippe Mathieu-Daudé <[email protected]>
This is the same bug that Vladimir fixed:
https://lore.kernel.org/qemu-devel/[email protected]/
- Steve
Quoted 12 lines · Steven Sistare
Quoted 11 lines · Philippe Mathieu-Daudé
Quoted 9 lines · Xiaoyao Li
The @do_connect parameter of
qtest_init_with_env()is not used. Fix it by passing it down toqtest_init_with_env_and_capabilities()instead of hard coding a true.Fixes 5357ef823a1f ("tests/qtest: defer connection")Signed-off-by Xiaoyao Li <[email protected]>---
tests/qtest/libqtest.c| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 6 lines
Quoted 2 lines
Reviewed-by Philippe Mathieu-Daudé <[email protected]>This is the same bug that Vladimir fixed:
https://lore.kernel.org/qemu-devel/20250410162250.329941-1- [email protected]/
Thanks for the info!
Quoted 4 lines
- Steve