2010-03-29 23:23:50 +04:00
|
|
|
#ifndef QEMU_CPUS_H
|
|
|
|
#define QEMU_CPUS_H
|
|
|
|
|
2010-04-12 21:19:06 +04:00
|
|
|
/* cpus.c */
|
2010-03-29 23:23:50 +04:00
|
|
|
int qemu_init_main_loop(void);
|
2010-04-12 21:19:06 +04:00
|
|
|
void qemu_main_loop_start(void);
|
2010-03-29 23:23:50 +04:00
|
|
|
void resume_all_vcpus(void);
|
|
|
|
void pause_all_vcpus(void);
|
|
|
|
|
|
|
|
/* vl.c */
|
|
|
|
extern int smp_cores;
|
|
|
|
extern int smp_threads;
|
|
|
|
extern int debug_requested;
|
2010-04-12 21:19:06 +04:00
|
|
|
extern int vmstop_requested;
|
2010-03-29 23:23:50 +04:00
|
|
|
void vm_state_notify(int running, int reason);
|
2010-06-25 18:56:55 +04:00
|
|
|
bool cpu_exec_all(void);
|
2010-03-29 23:23:50 +04:00
|
|
|
void set_numa_modes(void);
|
|
|
|
void set_cpu_log(const char *optarg);
|
2010-05-04 23:55:35 +04:00
|
|
|
void list_cpus(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...),
|
|
|
|
const char *optarg);
|
2010-03-29 23:23:50 +04:00
|
|
|
|
|
|
|
#endif
|