Use new macro QEMU_PACKED for packed structures
[qemu/qmp-unstable.git] / cpus.h
blobf42b54e39c90722a04b62a8c5ab4366c676044cc
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);
9 void cpu_stop_current(void);
11 void cpu_synchronize_all_states(void);
12 void cpu_synchronize_all_post_reset(void);
13 void cpu_synchronize_all_post_init(void);
15 /* vl.c */
16 extern int smp_cores;
17 extern int smp_threads;
18 void vm_state_notify(int running, int reason);
19 bool cpu_exec_all(void);
20 void set_numa_modes(void);
21 void set_cpu_log(const char *optarg);
22 void set_cpu_log_filename(const char *optarg);
23 void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg);
25 #endif