提交 17a4663e 编写于 作者: B Blue Swirl

Move CPU related functions to cpus.h

Move declarations of CPU related functions to cpus.h. Adjust the only user.
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 70c3b557
...@@ -8,6 +8,10 @@ void resume_all_vcpus(void); ...@@ -8,6 +8,10 @@ void resume_all_vcpus(void);
void pause_all_vcpus(void); void pause_all_vcpus(void);
void cpu_stop_current(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 */ /* vl.c */
extern int smp_cores; extern int smp_cores;
extern int smp_threads; extern int smp_threads;
......
...@@ -82,6 +82,7 @@ ...@@ -82,6 +82,7 @@
#include "migration.h" #include "migration.h"
#include "qemu_socket.h" #include "qemu_socket.h"
#include "qemu-queue.h" #include "qemu-queue.h"
#include "cpus.h"
#define SELF_ANNOUNCE_ROUNDS 5 #define SELF_ANNOUNCE_ROUNDS 5
......
...@@ -64,10 +64,6 @@ int load_vmstate(const char *name); ...@@ -64,10 +64,6 @@ int load_vmstate(const char *name);
void do_delvm(Monitor *mon, const QDict *qdict); void do_delvm(Monitor *mon, const QDict *qdict);
void do_info_snapshots(Monitor *mon); 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 qemu_announce_self(void);
void main_loop_wait(int nonblocking); void main_loop_wait(int nonblocking);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册