diff options
| author | Shannon Zhao <shannon.zhao@linaro.org> | 2015-12-17 13:37:14 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2015-12-17 13:37:14 +0000 |
| commit | 4bedd8495b47edbeed8389b631b0ee42bb17e0ef (patch) | |
| tree | 5e9811908fc1c66e844915a9aacd03dd6e963b2f /hw/timer/imx_gpt.c | |
| parent | c1a158b7eda92babae979c5d701b7acaaa2d0dd3 (diff) | |
| download | focaccia-qemu-4bedd8495b47edbeed8389b631b0ee42bb17e0ef.tar.gz focaccia-qemu-4bedd8495b47edbeed8389b631b0ee42bb17e0ef.zip | |
ARM: Virt: Add QEMU powerdown notifier and hook it to GPIO Pin 3
Currently mach-virt model doesn't support powerdown request. Guest VM doesn't react to system_powerdown from monitor console (or QMP) because there is no communication mechanism for such requests. This patch registers GPIO Pin 3 with powerdown notification. So guest VM can receive notification when such powerdown request is triggered. Signed-off-by: Wei Huang <wei@redhat.com> Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com> Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org> Reviewed-by: Wei Huang <wei@redhat.com> Tested-by: Wei Huang <wei@redhat.com> Message-id: 1449804086-3464-10-git-send-email-zhaoshenglong@huawei.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/timer/imx_gpt.c')
0 files changed, 0 insertions, 0 deletions