]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core: panic_stop: print current cell only if it has been set
authorAntonios Motakis <antonios.motakis@huawei.com>
Fri, 17 Jun 2016 12:37:30 +0000 (14:37 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Sun, 26 Jun 2016 07:16:27 +0000 (09:16 +0200)
commit11cc0e0cf21d53544bfe19977af1520981769e34
tree65864ade0d7d0c4d2c71b91e85f688cfd97e8320
parent49a683f3a3823a445d88a2021dc69993d6edff8b
core: panic_stop: print current cell only if it has been set

Currently during a panic, panic_stop will print the current cell
on the CPU where the panic occurred. However, if the hypervisor
panics sufficiently early during initialization, we may end up in
a situation where the root cell has not been initialized. This can
easily cause a trap loop, making the panic output less useful.

Signed-off-by: Antonios Motakis <antonios.motakis@huawei.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/control.c