qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 09/15] monitor: Convert do_system_reset() to QObject


From: Luiz Capitulino
Subject: [Qemu-devel] [PATCH 09/15] monitor: Convert do_system_reset() to QObject
Date: Tue, 6 Oct 2009 21:27:06 -0300

Signed-off-by: Luiz Capitulino <address@hidden>
---
 monitor.c       |    6 +++++-
 qemu-monitor.hx |    2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/monitor.c b/monitor.c
index 71e659d..d1396c3 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1293,7 +1293,11 @@ static void do_boot_set(Monitor *mon, const QDict *qdict)
     }
 }
 
-static void do_system_reset(Monitor *mon, const QDict *qdict)
+/**
+ * do_system_reset(): Issue a machine reset
+ */
+static void do_system_reset(Monitor *mon, const QDict *qdict,
+                            QObject **ret_data)
 {
     qemu_system_reset_request();
 }
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index a3e4b54..4b18680 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -485,7 +485,7 @@ ETEXI
         .name       = "system_reset",
         .args_type  = "",
         .handler    = do_system_reset,
-        .user_print = NULL,
+        .user_print = monitor_user_noop,
         .params     = "",
         .help       = "reset the system"
     },
-- 
1.6.5.rc2.17.gdbc1b





reply via email to

[Prev in Thread] Current Thread [Next in Thread]