hw/arm: Use GED for system_powerdown event
authorShameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Wed, 18 Sep 2019 13:06:30 +0000 (14:06 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 5 Oct 2019 21:12:09 +0000 (17:12 -0400)
commit1962f31b86b6fbba41a87a667ef3f58cdac14f3b
tree4c135c1ea25544622e201ce2554829bca24855c3
parentc345680cb46f240f62cf2356503d8783033c8180
hw/arm: Use GED for system_powerdown event

For machines 4.2 or higher with ACPI boot use GED for system_powerdown
event instead of GPIO. Guest boot with DT still uses GPIO.

Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20190918130633.4872-9-shameerali.kolothum.thodi@huawei.com>
Acked-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/generic_event_device.c
hw/arm/virt-acpi-build.c
hw/arm/virt.c
include/hw/acpi/acpi_dev_interface.h
include/hw/acpi/generic_event_device.h