]> www.infradead.org Git - users/willy/pagecache.git/commit
kunit: tool: Allow overriding the shutdown mode from qemu config
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Mon, 11 Nov 2024 05:29:19 +0000 (06:29 +0100)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 19 Nov 2024 22:26:30 +0000 (15:26 -0700)
commit0a1111d4cbaf45100e30ebd98d1e1a175b8ce22d
tree3cccf0960ecf2d873cb058ec69ec0dd00e07a14b
parentd28252440428d37076de166c3d576a5d2f4a53e8
kunit: tool: Allow overriding the shutdown mode from qemu config

Not all platforms support machine reboot.
If it a proper reboot is not supported the machine will hang.
Allow the QEMU configuration to override the necessary shutdown mode for
the specific system under test.

Link: https://lore.kernel.org/r/20241111-kunit-loongarch-v2-2-7676eb5f2da3@linutronix.de
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/kunit/kunit_kernel.py