diff mbox

[v1,12/24] monitor: Make do_loadvm public before moving it to monitor-system.c

Message ID 1406870842-17988-13-git-send-email-benoit.canet@irqsave.net
State New
Headers show

Commit Message

BenoƮt Canet Aug. 1, 2014, 5:27 a.m. UTC
Signed-off-by: Benoit Canet <benoit@irqsave.net>
---
 include/monitor/monitor-system.h | 1 +
 monitor.c                        | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/include/monitor/monitor-system.h b/include/monitor/monitor-system.h
index 2e98091..3bc7167 100644
--- a/include/monitor/monitor-system.h
+++ b/include/monitor/monitor-system.h
@@ -140,5 +140,6 @@  void do_acl_remove(Monitor *mon, const QDict *qdict);
 void do_acl_reset(Monitor *mon, const QDict *qdict);
 void do_inject_mce(Monitor *mon, const QDict *qdict);
 CPUArchState *mon_get_cpu(void);
+void do_loadvm(Monitor *mon, const QDict *qdict);
 
 #endif
diff --git a/monitor.c b/monitor.c
index 06c70dd..9aeafd3 100644
--- a/monitor.c
+++ b/monitor.c
@@ -826,7 +826,7 @@  void qmp_closefd(const char *fdname, Error **errp)
     error_set(errp, QERR_FD_NOT_FOUND, fdname);
 }
 
-static void do_loadvm(Monitor *mon, const QDict *qdict)
+void do_loadvm(Monitor *mon, const QDict *qdict)
 {
     int saved_vm_running  = runstate_is_running();
     const char *name = qdict_get_str(qdict, "name");