qemu-e2k/hw/arm
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
..
allwinner-a10.c arm: remove remaining cannot_destroy_with_object_finalize_yet 2017-04-20 17:51:32 +02:00
armv7m.c armv7m: Make bitband device take the address space to access 2017-02-28 16:18:49 +00:00
aspeed_soc.c aspeed: add a FTGMAC100 nic 2017-04-25 19:17:25 +08:00
aspeed.c aspeed: remove useless comment on controller segment size 2017-02-10 17:40:29 +00:00
bcm2835_peripherals.c bcm2835: add sdhost and gpio controllers 2017-02-28 17:10:00 +00:00
bcm2836.c arm: remove remaining cannot_destroy_with_object_finalize_yet 2017-04-20 17:51:32 +02:00
boot.c hw/arm/boot: take Linux/arm64 TEXT_OFFSET header field into account 2017-04-20 17:39:17 +01:00
collie.c
cubieboard.c hw/arm/cubieboard hw/arm/xlnx-ep108: Fix units_per_default_bus 2017-02-21 13:10:53 +01:00
digic_boards.c
digic.c arm: remove remaining cannot_destroy_with_object_finalize_yet 2017-04-20 17:51:32 +02:00
exynos4_boards.c hw/arm/exynos: Convert fprintf to qemu_log_mask/error_report 2017-04-20 17:39:17 +01:00
exynos4210.c hw/arm/exynos: Add generic SDHCI devices 2017-04-25 11:17:49 +01:00
fsl-imx6.c arm: remove remaining cannot_destroy_with_object_finalize_yet 2017-04-20 17:51:32 +02:00
fsl-imx25.c arm: remove remaining cannot_destroy_with_object_finalize_yet 2017-04-20 17:51:32 +02:00
fsl-imx31.c arm: remove remaining cannot_destroy_with_object_finalize_yet 2017-04-20 17:51:32 +02:00
gumstix.c
highbank.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
imx25_pdk.c arm: Uniquely name imx25 I2C buses. 2017-01-20 11:15:06 +00:00
integratorcp.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
kzm.c
mainstone.c mainstone: Add mapping for dot, slash and backspace. 2016-10-04 13:28:08 +01:00
Makefile.objs
musicpal.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
netduino2.c stm32f205: Create armv7m object without using armv7m_init() 2017-02-28 16:18:49 +00:00
nseries.c char: rename CharDriverState Chardev 2017-01-27 18:07:59 +01:00
omap1.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
omap2.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
omap_sx1.c
palm.c
pxa2xx_gpio.c hw/arm: QOM'ify pxa2xx_gpio.c 2016-10-24 16:26:55 +01:00
pxa2xx_pic.c
pxa2xx.c hw/arm: Qomify pxa2xx.c 2017-04-20 17:39:17 +01:00
raspi.c
realview.c hw: Deprecate -drive if=scsi with non-onboard HBAs 2017-02-21 13:17:45 +01:00
sabrelite.c
spitz.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
stellaris.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
stm32f205_soc.c stm32f205: Rename 'nvic' local to 'armv7m' 2017-02-28 16:18:49 +00:00
strongarm.c hw/arm: QOM'ify strongarm.c 2016-10-24 16:26:56 +01:00
strongarm.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
sysbus-fdt.c sysbus: Remove ignored return value of FindSysbusDeviceFunc 2016-09-27 17:03:34 -03:00
tosa.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
trace-events
versatilepb.c hw: Deprecate -drive if=scsi with non-onboard HBAs 2017-02-21 13:17:45 +01:00
vexpress.c hw: Default -drive to if=none instead of scsi when scsi cannot work 2017-02-21 13:10:53 +01:00
virt-acpi-build.c pci, virtio, vhost: fixes 2017-05-18 10:01:08 +01:00
virt.c virt-arm: get numa node mapping from possible_cpus instead of numa_get_node_for_cpu() 2017-05-11 16:08:49 -03:00
xilinx_zynq.c hw: Default -drive to if=none instead of scsi when scsi cannot work 2017-02-21 13:10:53 +01:00
xlnx-ep108.c hw/arm/cubieboard hw/arm/xlnx-ep108: Fix units_per_default_bus 2017-02-21 13:10:53 +01:00
xlnx-zynqmp.c qdev patches for 2017-04-21 2017-04-21 11:42:03 +01:00
z2.c i2c: Allow I2C devices to NAK start events 2017-01-09 11:40:20 +00:00