crosvm/x86_64/src
Daniel Verkamp b852264e21 linux: use panic=-1 to reboot immediately on panic
This changes the default Linux kernel command line from panic=1 (reboot
one second after panic) to panic=-1 (reboot immediately on panic).  The
kernel should not normally panic; this is just to improve quality of
life for developer workflows, such as running bash as init and exiting
the shell to shut down the VM.

BUG=None
TEST=crosvm run -r vm_rootfs.img -p init=/bin/bash vm_kernel; exit shell

Change-Id: I7c9084ccf1786cd4455fd748512078e02fdb17fa
Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1500872
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: David Tolnay <dtolnay@chromium.org>
Reviewed-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
2019-03-05 12:58:31 -08:00
..
bootparam.rs cargo fmt all source code 2018-10-09 21:14:05 -07:00
cpuid.rs error: Consistently use Display instead of error description() 2019-03-02 17:41:31 -08:00
fdt.rs x86_64: return fdt size from create_fdt() 2019-02-07 03:02:08 -08:00
gdt.rs cargo fmt all source code 2018-10-09 21:14:05 -07:00
interrupts.rs error: Consistently use Display instead of error description() 2019-03-02 17:41:31 -08:00
lib.rs linux: use panic=-1 to reboot immediately on panic 2019-03-05 12:58:31 -08:00
mpspec.rs cargo fmt all source code 2018-10-09 21:14:05 -07:00
mptable.rs error: Consistently use Display instead of error description() 2019-03-02 17:41:31 -08:00
msr_index.rs x86_64: Add x86_64 setup code 2017-05-12 20:58:07 -07:00
regs.rs error: Consistently use Display instead of error description() 2019-03-02 17:41:31 -08:00