aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorWenchao Xia <wenchaoqemu@gmail.com>2014-06-18 08:43:40 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2014-06-23 11:12:27 -0400
commit7a906f7ffb467576507956fe455dd1f55f6ba4ff (patch)
tree5d1a8c3e2f1a6c01c3eb6fdf53e89d1152fe8f6e /vl.c
parent2ea4100f44af4280c5f566c94ac02f188e8ff24c (diff)
downloadqemu-7a906f7ffb467576507956fe455dd1f55f6ba4ff.zip
qemu-7a906f7ffb467576507956fe455dd1f55f6ba4ff.tar.gz
qemu-7a906f7ffb467576507956fe455dd1f55f6ba4ff.tar.bz2
qapi event: convert WAKEUP
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 aaa9ee5..4a14681 100644
--- a/vl.c
+++ b/vl.c
@@ -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();