Loading docs/qmp/qmp-events.txt +0 −12 Original line number Diff line number Diff line Loading @@ -442,18 +442,6 @@ Example: "host": "127.0.0.1", "sasl_username": "luiz" } }, "timestamp": { "seconds": 1263475302, "microseconds": 150772 } } WAKEUP ------ Emitted when the guest has woken up from S3 and is running. Data: None. Example: { "event": "WAKEUP", "timestamp": { "seconds": 1344522075, "microseconds": 745528 } } WATCHDOG -------- Loading qapi-event.json +9 −0 Original line number Diff line number Diff line Loading @@ -69,3 +69,12 @@ # Since: 1.2 ## { 'event': 'SUSPEND_DISK' } ## # @WAKEUP # # Emitted when the guest has woken up from suspend state and is running # # Since: 1.1 ## { 'event': 'WAKEUP' } vl.c +1 −1 Original line number Diff line number Diff line Loading @@ -1987,7 +1987,7 @@ static bool main_loop_should_exit(void) notifier_list_notify(&wakeup_notifiers, &wakeup_reason); wakeup_reason = QEMU_WAKEUP_REASON_NONE; resume_all_vcpus(); monitor_protocol_event(QEVENT_WAKEUP, NULL); qapi_event_send_wakeup(&error_abort); } if (qemu_powerdown_requested()) { qemu_system_powerdown(); Loading Loading
docs/qmp/qmp-events.txt +0 −12 Original line number Diff line number Diff line Loading @@ -442,18 +442,6 @@ Example: "host": "127.0.0.1", "sasl_username": "luiz" } }, "timestamp": { "seconds": 1263475302, "microseconds": 150772 } } WAKEUP ------ Emitted when the guest has woken up from S3 and is running. Data: None. Example: { "event": "WAKEUP", "timestamp": { "seconds": 1344522075, "microseconds": 745528 } } WATCHDOG -------- Loading
qapi-event.json +9 −0 Original line number Diff line number Diff line Loading @@ -69,3 +69,12 @@ # Since: 1.2 ## { 'event': 'SUSPEND_DISK' } ## # @WAKEUP # # Emitted when the guest has woken up from suspend state and is running # # Since: 1.1 ## { 'event': 'WAKEUP' }
vl.c +1 −1 Original line number Diff line number Diff line Loading @@ -1987,7 +1987,7 @@ static bool main_loop_should_exit(void) notifier_list_notify(&wakeup_notifiers, &wakeup_reason); wakeup_reason = QEMU_WAKEUP_REASON_NONE; resume_all_vcpus(); monitor_protocol_event(QEVENT_WAKEUP, NULL); qapi_event_send_wakeup(&error_abort); } if (qemu_powerdown_requested()) { qemu_system_powerdown(); Loading