qemu/target/sparc
Eric Blake cf83f14005 shutdown: Add source information to SHUTDOWN and RESET
Time to wire up all the call sites that request a shutdown or
reset to use the enum added in the previous patch.

It would have been less churn to keep the common case with no
arguments as meaning guest-triggered, and only modified the
host-triggered code paths, via a wrapper function, but then we'd
still have to audit that I didn't miss any host-triggered spots;
changing the signature forces us to double-check that I correctly
categorized all callers.

Since command line options can change whether a guest reset request
causes an actual reset vs. a shutdown, it's easy to also add the
information to reset requests.

Signed-off-by: Eric Blake <eblake@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au> [ppc parts]
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> [SPARC part]
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> [s390x parts]
Message-Id: <20170515214114.15442-5-eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2017-05-23 13:28:17 +02:00
..
asi.h target-sparc: implement UA2005 scratchpad registers 2017-01-18 22:03:44 +01:00
cc_helper.c
cpu-qom.h
cpu.c target-sparc: implement UA2005 GL register 2017-01-18 22:03:44 +01:00
cpu.h target-sparc: store the UA2005 entries in sun4u format 2017-01-18 22:03:44 +01:00
fop_helper.c
gdbstub.c
helper.c
helper.h target-sparc: implement UA2005 GL register 2017-01-18 22:03:44 +01:00
int32_helper.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
int64_helper.c sparc/sparc64: grab BQL before calling cpu_check_irqs 2017-03-09 10:41:38 +00:00
ldst_helper.c cputlb and arm/sparc targets: convert mmuidx flushes from varg to bitmap 2017-02-24 10:32:46 +00:00
machine.c migration: extend VMStateInfo 2017-01-24 17:54:47 +00:00
Makefile.objs
mmu_helper.c target-sparc: add more registers to dump_mmu 2017-01-18 22:03:44 +01:00
monitor.c monitor: Fix crashes when using HMP commands without CPU 2017-02-21 18:29:01 +00:00
TODO
trace-events
translate.c target/sparc: Restore ldstub of odd asis 2017-03-02 06:52:43 +11:00
vis_helper.c
win_helper.c sparc/sparc64: grab BQL before calling cpu_check_irqs 2017-03-09 10:41:38 +00:00