aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2010-05-11 17:50:50 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2010-05-19 12:45:53 -0300
commita875170167f75e63a11f68adc0a15b4e82a6c186 (patch)
tree7a0f2f6f5b86e4ae990842db84aca03f3d8adea8 /monitor.c
parentb752daf03092b6720e39fdf7f4198eec95f71468 (diff)
Revert "Monitor: Return before exiting with 'quit'"
This reverts commit 0e8d2b5575938b8876a3c4bb66ee13c5d306fb6d. Next commits will do the same thing in a better way. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/monitor.c b/monitor.c
index a1ebc5d4d2..2e202ffb20 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1020,8 +1020,7 @@ static void do_info_cpu_stats(Monitor *mon)
*/
static int do_quit(Monitor *mon, const QDict *qdict, QObject **ret_data)
{
- monitor_suspend(mon);
- qemu_system_exit_request();
+ exit(0);
return 0;
}