[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 4307666] monitor: Convert do_system_powerdown() t
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 4307666] monitor: Convert do_system_powerdown() to QObject |
Date: |
Fri, 09 Oct 2009 02:22:01 -0000 |
From: Luiz Capitulino <address@hidden>
Patchworks-ID: 35346
Signed-off-by: Luiz Capitulino <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
diff --git a/monitor.c b/monitor.c
index 3209875..ab15289 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1301,7 +1301,11 @@ static void do_system_reset(Monitor *mon, const QDict
*qdict,
qemu_system_reset_request();
}
-static void do_system_powerdown(Monitor *mon, const QDict *qdict)
+/**
+ * do_system_powerdown(): Issue a machine powerdown
+ */
+static void do_system_powerdown(Monitor *mon, const QDict *qdict,
+ QObject **ret_data)
{
qemu_system_powerdown_request();
}
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index b116b5e..3efc716 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -482,7 +482,8 @@ ETEXI
.args_type = "",
.params = "",
.help = "send system power down event",
- .mhandler.cmd = do_system_powerdown,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_system_powerdown,
},
STEXI
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 4307666] monitor: Convert do_system_powerdown() to QObject,
Anthony Liguori <=