blob: bf4d9bb87a75f521aed366a50d6257708aeab702 [file] [log] [blame]
Blue Swirl296af7c2010-03-29 19:23:50 +00001#ifndef QEMU_CPUS_H
2#define QEMU_CPUS_H
3
Blue Swirl7277e022010-04-12 17:19:06 +00004/* cpus.c */
Blue Swirl296af7c2010-03-29 19:23:50 +00005int qemu_init_main_loop(void);
Blue Swirl7277e022010-04-12 17:19:06 +00006void qemu_main_loop_start(void);
Blue Swirl296af7c2010-03-29 19:23:50 +00007void resume_all_vcpus(void);
8void pause_all_vcpus(void);
9
10/* vl.c */
11extern int smp_cores;
12extern int smp_threads;
13extern int debug_requested;
Blue Swirl7277e022010-04-12 17:19:06 +000014extern int vmstop_requested;
Blue Swirl296af7c2010-03-29 19:23:50 +000015void vm_state_notify(int running, int reason);
Jan Kiszka472fb0c2010-06-25 16:56:55 +020016bool cpu_exec_all(void);
Blue Swirl296af7c2010-03-29 19:23:50 +000017void set_numa_modes(void);
18void set_cpu_log(const char *optarg);
Stefan Weil9a78eea2010-10-22 23:03:33 +020019void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg);
Blue Swirl296af7c2010-03-29 19:23:50 +000020
21#endif