]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Move CPU related functions to cpus.h
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 27 Mar 2011 16:05:08 +0000 (16:05 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Fri, 15 Apr 2011 20:14:52 +0000 (20:14 +0000)
Move declarations of CPU related functions to cpus.h. Adjust the only user.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
cpus.h
savevm.c
sysemu.h

diff --git a/cpus.h b/cpus.h
index e0211260c3cb8323f0f4d422ed281e127fc33697..6fdeb0d8f2e8a75b767094fb84eb83930761b10b 100644 (file)
--- 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;
index 03fce62975067a963c56b0a554586b8f61e2c887..be44fdb4732717e24cef0d614511035dd391f982 100644 (file)
--- 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
 
index a379024120fbf4fc53d49314c703895d62b1a933..6effd8a122f97e0c567b7bfdedd40726c1de0fe9 100644 (file)
--- 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);