summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-03-27 16:05:08 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-04-15 20:14:52 +0000
commit17a4663e2dddbac36126a6fd7048634a4c95fa6e (patch)
tree73297471bd89ff1bdde9dd50b875875f601b26c2
parent70c3b5575ee3e0d528aa176c8c5add3e7355c01e (diff)
Move CPU related functions to cpus.h
Move declarations of CPU related functions to cpus.h. Adjust the only user. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--cpus.h4
-rw-r--r--savevm.c1
-rw-r--r--sysemu.h4
3 files changed, 5 insertions, 4 deletions
diff --git a/cpus.h b/cpus.h
index e0211260c..6fdeb0d8f 100644
--- a/cpus.h
+++ b/cpus.h
@@ -8,6 +8,10 @@ void resume_all_vcpus(void);
void pause_all_vcpus(void);
void cpu_stop_current(void);
+void cpu_synchronize_all_states(void);
+void cpu_synchronize_all_post_reset(void);
+void cpu_synchronize_all_post_init(void);
+
/* vl.c */
extern int smp_cores;
extern int smp_threads;
diff --git a/savevm.c b/savevm.c
index 03fce6297..be44fdb47 100644
--- a/savevm.c
+++ b/savevm.c
@@ -82,6 +82,7 @@
#include "migration.h"
#include "qemu_socket.h"
#include "qemu-queue.h"
+#include "cpus.h"
#define SELF_ANNOUNCE_ROUNDS 5
diff --git a/sysemu.h b/sysemu.h
index a37902412..6effd8a12 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -64,10 +64,6 @@ int load_vmstate(const char *name);
void do_delvm(Monitor *mon, const QDict *qdict);
void do_info_snapshots(Monitor *mon);
-void cpu_synchronize_all_states(void);
-void cpu_synchronize_all_post_reset(void);
-void cpu_synchronize_all_post_init(void);
-
void qemu_announce_self(void);
void main_loop_wait(int nonblocking);