On 01/13/12 16:51, Paolo Bonzini wrote:
> On 01/11/2012 04:08 PM, Gerd Hoffmann wrote:
>> +void qemu_system_suspend_request(qemu_irq wake_irq)
>> +{
>> +if (suspend_wake_irq != NULL) {
>> +return;
>> +}
>> +cpu_stop_current();
>> +qemu_notify_event();
>> +suspend_wake_ir
On 01/11/2012 04:08 PM, Gerd Hoffmann wrote:
+void qemu_system_suspend_request(qemu_irq wake_irq)
+{
+if (suspend_wake_irq != NULL) {
+return;
+}
+cpu_stop_current();
+qemu_notify_event();
+suspend_wake_irq = wake_irq;
+}
+
+void qemu_system_wakeup_request(void)
+{
+
This patch adds qemu_system_suspend_request() and void
qemu_system_wakeup_request() functions to qemu.
qemu_system_suspend_request is supposed to be called when the guest
asks for being be suspended, for example via ACPI.
qemu_system_wakeup_request is supposed to be called on events which
should