diff mbox

[V5,14/28] qapi event: convert WAKEUP

Message ID 1398918422-3019-15-git-send-email-wenchaoqemu@gmail.com
State New
Headers show

Commit Message

Wenchao Xia May 1, 2014, 4:26 a.m. UTC
Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com>
---
 vl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/vl.c b/vl.c
index 3ee2494..73b4725 100644
--- a/vl.c
+++ b/vl.c
@@ -2031,7 +2031,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(NULL);
     }
     if (qemu_powerdown_requested()) {
         qemu_system_powerdown();