qemu-e2k/hw/acpi
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
..
acpi_interface.c
acpi-stub.c acpi: filter based on CONFIG_ACPI_X86 rather than TARGET 2017-01-16 17:52:35 +01:00
aml-build.c pci, virtio, vhost: fixes 2017-05-18 10:01:08 +01:00
bios-linker-loader.c linker-loader: Add new 'write pointer' command 2017-03-02 07:14:26 +02:00
core.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
cpu_hotplug.c machine: Make possible_cpu_arch_ids() return const pointer 2017-01-23 21:25:37 -02:00
cpu.c pc: get numa node mapping from possible_cpus instead of numa_get_node_for_cpu() 2017-05-11 16:08:49 -03:00
ich9.c memhp: don't generate memory hotplug AML if it's not enabled/supported 2017-01-10 07:03:24 +02:00
ipmi-stub.c stubs: move acpi stubs to hw/acpi 2017-01-16 17:52:35 +01:00
ipmi.c
Makefile.objs ACPI: Add Virtual Machine Generation ID support 2017-03-02 07:14:27 +02:00
memory_hotplug.c memhp: move DIMM devices into dedicated scope with related common methods 2017-01-10 07:03:24 +02:00
nvdimm.c nvdimm acpi: introduce NVDIMM_DSM_MEMORY_SIZE 2016-11-15 17:20:37 +02:00
pcihp.c pc: pcihp: avoid adding ACPI_PCIHP_PROP_BSEL twice 2017-03-01 11:51:05 +04:00
piix4.c pci, virtio, vhost: fixes 2017-05-18 10:01:08 +01:00
tco.c tco: do not generate an NMI 2017-04-05 17:23:52 +02:00
trace-events
vmgenid.c hw/acpi/vmgenid: prevent more than one vmgenid device 2017-03-22 18:29:27 +02:00