tests/qtest: Use qtest_system_reset_nowait() where appropriate
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Nov 2024 16:50:41 +0000 (16:50 +0000)
committerFabiano Rosas <farosas@suse.de>
Thu, 12 Dec 2024 13:25:38 +0000 (10:25 -0300)
commitde62427cce9060e4d631b11ba7840bb03368a448
tree60578e7d2b44eece046b45d332ff966f753c0faf
parent9881d3d1687d1f18dc605a589d13ae5b8a9db456
tests/qtest: Use qtest_system_reset_nowait() where appropriate

In the device and drive plug/unplug tests we want to trigger
a system reset and then see if we get the appropriate
DEVICE_DELETED event. Use qtest_system_reset_nowait() here.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
tests/qtest/device-plug-test.c
tests/qtest/drive_del-test.c