aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorWenchao Xia <wenchaoqemu@gmail.com>2014-06-18 08:43:38 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2014-06-23 11:12:27 -0400
commit1d11a95a3e84e01289e07884de37f2eb65c21357 (patch)
tree8731b26fb715a9273f5e7edc22943a4b6bc0b535 /vl.c
parent591c48fbc5390eced7c787a5fbb72552ef62e56a (diff)
downloadqemu-1d11a95a3e84e01289e07884de37f2eb65c21357.zip
qemu-1d11a95a3e84e01289e07884de37f2eb65c21357.tar.gz
qemu-1d11a95a3e84e01289e07884de37f2eb65c21357.tar.bz2
qapi event: convert SUSPEND
Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index fb91939..aaa9ee5 100644
--- a/vl.c
+++ b/vl.c
@@ -1869,7 +1869,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(&error_abort);
}
void qemu_system_suspend_request(void)