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); |
Jan Kiszka | 472fb0c | 2010-06-25 16:56:55 +0200 | [diff] [blame] | 16 | bool cpu_exec_all(void); |
Blue Swirl | 296af7c | 2010-03-29 19:23:50 +0000 | [diff] [blame] | 17 | void set_numa_modes(void); |
| 18 | void set_cpu_log(const char *optarg); |
Stefan Weil | 9a78eea | 2010-10-22 23:03:33 +0200 | [diff] [blame^] | 19 | void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg); |
Blue Swirl | 296af7c | 2010-03-29 19:23:50 +0000 | [diff] [blame] | 20 | |
| 21 | #endif |