2010-03-29 19:23:50 +00:00
|
|
|
#ifndef QEMU_CPUS_H
|
|
|
|
#define QEMU_CPUS_H
|
|
|
|
|
2010-04-12 17:19:06 +00:00
|
|
|
/* cpus.c */
|
|
|
|
void qemu_main_loop_start(void);
|
2010-03-29 19:23:50 +00:00
|
|
|
void resume_all_vcpus(void);
|
|
|
|
void pause_all_vcpus(void);
|
2011-02-01 21:15:43 +00:00
|
|
|
void cpu_stop_current(void);
|
2010-03-29 19:23:50 +00:00
|
|
|
|
2011-03-27 16:05:08 +00:00
|
|
|
void cpu_synchronize_all_states(void);
|
|
|
|
void cpu_synchronize_all_post_reset(void);
|
|
|
|
void cpu_synchronize_all_post_init(void);
|
|
|
|
|
2010-03-29 19:23:50 +00:00
|
|
|
/* vl.c */
|
|
|
|
extern int smp_cores;
|
|
|
|
extern int smp_threads;
|
2010-06-25 14:56:55 +00:00
|
|
|
bool cpu_exec_all(void);
|
2010-03-29 19:23:50 +00:00
|
|
|
void set_numa_modes(void);
|
|
|
|
void set_cpu_log(const char *optarg);
|
2011-06-07 16:32:40 +00:00
|
|
|
void set_cpu_log_filename(const char *optarg);
|
2010-10-22 21:03:33 +00:00
|
|
|
void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg);
|
2010-03-29 19:23:50 +00:00
|
|
|
|
|
|
|
#endif
|