Patchwork [V5,12/28] qapi event: convert SUSPEND

login
register
mail settings
Submitter Wenchao Xia
Date May 1, 2014, 4:26 a.m.
Message ID <1398918422-3019-13-git-send-email-wenchaoqemu@gmail.com>
Download mbox | patch
Permalink /patch/344414/
State New
Headers show

Comments

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

Patch

diff --git a/vl.c b/vl.c
index 3679588..3ee2494 100644
--- a/vl.c
+++ b/vl.c
@@ -1907,7 +1907,7 @@  static void qemu_system_suspend(void)
     pause_all_vcpus();
     notifier_list_notify(&suspend_notifiers, NULL);
     runstate_set(RUN_STATE_SUSPENDED);
-    monitor_protocol_event(QEVENT_SUSPEND, NULL);
+    qapi_event_send_suspend(NULL);
 }
 
 void qemu_system_suspend_request(void)