block: Fix serial number assignment
[qemu.git] / cpus.h
blob774150a763a53cbc28dcab51cd52f5b98804a505
1 #ifndef QEMU_CPUS_H
2 #define QEMU_CPUS_H
4 /* cpus.c */
5 int qemu_init_main_loop(void);
6 void qemu_main_loop_start(void);
7 void resume_all_vcpus(void);
8 void pause_all_vcpus(void);
10 /* vl.c */
11 extern int smp_cores;
12 extern int smp_threads;
13 extern int debug_requested;
14 extern int vmstop_requested;
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);
19 void list_cpus(FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt, ...),
20 const char *optarg);
22 #endif