]> git.baikalelectronics.ru Git - kernel.git/commit
um: add "noreboot" command line option for PANIC_TIMEOUT=-1 setups
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 13 Jul 2022 11:56:17 +0000 (13:56 +0200)
committerRichard Weinberger <richard@nod.at>
Sun, 17 Jul 2022 21:41:02 +0000 (23:41 +0200)
commit026c385de7a8e2bb5d0752e36f5b65f33be6ba62
treee457e1200190bfd340cb32b6b7b98715996e69f8
parent0a88fb91a428985828019f6c0b2ecc1fada6ce4d
um: add "noreboot" command line option for PANIC_TIMEOUT=-1 setups

QEMU has a -no-reboot option, which halts instead of reboots when the
guest asks to reboot. This is invaluable when used with
CONFIG_PANIC_TIMEOUT=-1 (and panic_on_warn), because it allows panics
and warnings to be caught immediately in CI. Implement this in UML too,
by way of a basic setup param.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/os-Linux/skas/process.c