Message ID | 1398918422-3019-9-git-send-email-wenchaoqemu@gmail.com |
---|---|
State | New |
Headers | show |
diff --git a/vl.c b/vl.c index 9f78bd7..5dd30c9 100644 --- a/vl.c +++ b/vl.c @@ -1970,7 +1970,7 @@ void qemu_system_shutdown_request(void) static void qemu_system_powerdown(void) { - monitor_protocol_event(QEVENT_POWERDOWN, NULL); + qapi_event_send_powerdown(NULL); notifier_list_notify(&powerdown_notifiers, NULL); }
Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com> --- vl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)