Blue Swirl | 296af7c | 2010-03-29 19:23:50 +0000 | [diff] [blame] | 1 | #ifndef QEMU_CPUS_H |
| 2 | #define QEMU_CPUS_H |
| 3 | |
Blue Swirl | 7277e02 | 2010-04-12 17:19:06 +0000 | [diff] [blame] | 4 | /* cpus.c */ |
Blue Swirl | 296af7c | 2010-03-29 19:23:50 +0000 | [diff] [blame] | 5 | int qemu_init_main_loop(void); |
Blue Swirl | 7277e02 | 2010-04-12 17:19:06 +0000 | [diff] [blame] | 6 | void qemu_main_loop_start(void); |
Blue Swirl | 296af7c | 2010-03-29 19:23:50 +0000 | [diff] [blame] | 7 | void resume_all_vcpus(void); |
| 8 | void pause_all_vcpus(void); |
| 9 | |
| 10 | /* vl.c */ |
| 11 | extern int smp_cores; |
| 12 | extern int smp_threads; |
| 13 | extern int debug_requested; |
Blue Swirl | 7277e02 | 2010-04-12 17:19:06 +0000 | [diff] [blame] | 14 | extern int vmstop_requested; |
Blue Swirl | 296af7c | 2010-03-29 19:23:50 +0000 | [diff] [blame] | 15 | void vm_state_notify(int running, int reason); |
| 16 | bool tcg_cpu_exec(void); |
| 17 | void set_numa_modes(void); |
| 18 | void set_cpu_log(const char *optarg); |
Blue Swirl | 262353c | 2010-05-04 19:55:35 +0000 | [diff] [blame] | 19 | void list_cpus(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...), |
| 20 | const char *optarg); |
Blue Swirl | 296af7c | 2010-03-29 19:23:50 +0000 | [diff] [blame] | 21 | |
| 22 | #endif |