]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm: Factor out powerdown notifier from GPIO
authorShameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Wed, 18 Sep 2019 13:06:29 +0000 (14:06 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 5 Oct 2019 21:12:09 +0000 (17:12 -0400)
commitc345680cb46f240f62cf2356503d8783033c8180
treec50abf4aba7646296803cee95c870bdc45ca8593
parent442da7dc77af171b800f4f082d245dadd3c6ed75
hw/arm: Factor out powerdown notifier from GPIO

This is in preparation of using GED device for
system_powerdown event. Make the powerdown notifier
registration independent of create_gpio() fn.

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-8-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/arm/virt.c
include/hw/arm/virt.h