qemu/target/s390x
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
..
arch_dump.c s390x/arch_dump: pass cpuid into notes sections 2017-02-24 10:15:18 +01:00
cc_helper.c
cpu_features_def.h
cpu_features.c
cpu_features.h
cpu_models.c qobject: Use simpler QDict/QList scalar insertion macros 2017-05-09 09:13:51 +02:00
cpu_models.h
cpu-qom.h
cpu.c target/s390x: Diagnose specification exception for atomics 2017-05-12 15:40:29 -07:00
cpu.h target/s390x: mask the SIGP order_code using SIGP_ORDER_MASK 2017-05-12 15:47:13 -07:00
fpu_helper.c
gdbstub.c * QOM interface fix (Eduardo) 2017-01-20 16:42:07 +00:00
gen-features.c
helper.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
helper.h target/s390x: Use atomic operations for COMPARE SWAP 2017-05-12 15:47:13 -07:00
insn-data.def target/s390x: Use atomic operations for LOAD AND OP 2017-05-12 15:47:13 -07:00
insn-format.def
int_helper.c target-s390x: Avoid a loop for popcnt 2017-01-10 08:48:57 -08:00
interrupt.c
ioinst.c
kvm.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
machine.c migration: consolidate VMStateField.start 2017-02-13 17:27:13 +00:00
Makefile.objs makefile: merge GENERATED_HEADERS & GENERATED_SOURCES variables 2017-03-16 11:51:15 +08:00
mem_helper.c target/s390x: Use atomic operations for COMPARE SWAP 2017-05-12 15:47:13 -07:00
misc_helper.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
mmu_helper.c
trace-events
translate.c target/s390x: implement serialization in BRANCH CONDITION 2017-05-12 15:48:41 -07:00