blob: 4ebad3a36f312c4b148792c64b8bc57aef48dccf [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);
16bool tcg_cpu_exec(void);
17void set_numa_modes(void);
18void set_cpu_log(const char *optarg);
19
20#endif