acpi: move acpi_dsdt_add_power_button() to ged
commit7bf2567c12320731b115af83f4991bbc9203df70
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 15 Sep 2020 12:08:54 +0000 (15 14:08 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 17 Sep 2020 12:16:19 +0000 (17 14:16 +0200)
treea64f7e16a7ff11483fa087308d43ced7dab8251d
parent2025e97dc55107e4f0d2b7553d7eb325bc1f437d
acpi: move acpi_dsdt_add_power_button() to ged

Allow reuse for microvm.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20200915120909.20838-7-kraxel@redhat.com
hw/acpi/generic_event_device.c
hw/arm/virt-acpi-build.c
include/hw/acpi/generic_event_device.h