Signed-off-by: Wenchao Xia <wenchaoq...@gmail.com> --- vl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
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) -- 1.7.1