xen/shim: crash instead of reboot in shim mode
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 11 Jan 2018 11:41:21 +0000 (11:41 +0000)
committerWei Liu <wei.liu2@citrix.com>
Tue, 16 Jan 2018 18:34:05 +0000 (18:34 +0000)
commit96332997037c7125157fe1d025310360ce0a9281
treee53b13e12bfd5b6baa8a0042bb9ead9ba436fe9d
parent8aeda5e06a7b6475c35d250c7c531cb79d4b0080
xen/shim: crash instead of reboot in shim mode

All guest shutdown operations are forwarded to L0, so the only native
calls to machine_restart happen from crash related paths inside the
hypervisor, hence switch the reboot code to instead issue a crash
shutdown.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
[ wei: fix arm build ]
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/shutdown.c
xen/drivers/char/console.c