block: add discard support
[qemu.git] / cpus.h
blobbf4d9bb87a75f521aed366a50d6257708aeab702
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 cpu_exec_all(void);
17 void set_numa_modes(void);
18 void set_cpu_log(const char *optarg);
19 void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg);
21 #endif