linux-user: Protect against allocation failure in load_symbols.
[qemu/mdroth.git] / cpus.h
blobaf267ea07f10566a80658727e3b8791fe3cc6f85
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, int (*cpu_fprintf)(FILE *f, const char *fmt, ...),
20 const char *optarg);
22 #endif