Re: [gem5-users] Is it possible to make gem5 exit with status 1 on Linux kernel panic?

2018-08-13 Thread Jason Lowe-Power
Hi Ciro, As far as I know, it's not desired behavior for the exit status to be 0 when a panic happens. It's probably just something that has never come up. Feel free to submit a patch to change this! It looks like something would need to change in `raiseFatalSignal()` in src/sim/init_signals.cc.

[gem5-users] Is it possible to make gem5 exit with status 1 on Linux kernel panic?

2018-08-12 Thread Ciro Santilli
I've noticed that as of ff52563a214c71fcd1e21e9f00ad839612032e3b, when there is a kernel panic, and I hack fs.py to set `system.panic_on_panic` with: diff --git a/configs/example/fs.py b/configs/example/fs.py index 4031fd05e..0f502a34a 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py