xref: /illumos-kvm-cmd/cpus.h (revision 68396ea9)
1 #ifndef QEMU_CPUS_H
2 #define QEMU_CPUS_H
3 
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);
9 
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);
20 
21 #endif
22