aboutsummaryrefslogtreecommitdiff
path: root/sysemu.h
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2012-09-05 23:06:21 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2012-09-25 18:37:41 -0500
commita9552c8edbd31bf75d42b561f0a592c00aff1038 (patch)
tree5bd53653764ae8f252cccf733e22e013c94ee1b0 /sysemu.h
parentd9b41bcda91ea7285d934a9c2333c49cd32d1ad3 (diff)
Introduce powerdown_notifiers
Notifier will be used for signaling powerdown request to guest in a more general way and intended to replace very specific qemu_irq_rise(qemu_system_powerdown) and will allow to remove global variable qemu_system_powerdown. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'sysemu.h')
-rw-r--r--sysemu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysemu.h b/sysemu.h
index 65552acee5..803c8588cf 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -52,6 +52,7 @@ void qemu_system_wakeup_enable(WakeupReason reason, bool enabled);
void qemu_register_wakeup_notifier(Notifier *notifier);
void qemu_system_shutdown_request(void);
void qemu_system_powerdown_request(void);
+void qemu_register_powerdown_notifier(Notifier *notifier);
void qemu_system_debug_request(void);
void qemu_system_vmstop_request(RunState reason);
int qemu_shutdown_requested_get(void);