xen: Remove domain_crash_synchronous() completely
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 24 Jan 2018 16:59:42 +0000 (16:59 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 2 Aug 2018 09:10:43 +0000 (10:10 +0100)
commit4c9a6546e4c33ba2b170d5c1d0c340c1dd384ffc
tree634bfeb74601c18fc7f8cd8ede70bf7c1ea103a0
parent499a76634d74f4ec663629fe85239e05d0352bb9
xen: Remove domain_crash_synchronous() completely

domain_crash_synchronous() is unsafe to use in general as it may leave
spinlocks held, temporary memory allocated, etc.

With domain_crash_synchronous() removed from the ARM code in 4.11, take the
opportunity to remove the infrastructure completely by opencoding the softirq
loop in the remaining callsites, all of which are destined for deletion.

None of these sites are at risk of having a pending ioreq to qemu, which means
that the vcpu_end_shutdown_deferral() isn't necessary.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/traps.c
xen/common/domain.c
xen/common/wait.c
xen/include/xen/sched.h