pci: use PCI_DEVFN in pci_get_bus_devfn()
[qemu.git] / cpus.h
blobe0211260c3cb8323f0f4d422ed281e127fc33697
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 /* vl.c */
12 extern int smp_cores;
13 extern int smp_threads;
14 void vm_state_notify(int running, int reason);
15 bool cpu_exec_all(void);
16 void set_numa_modes(void);
17 void set_cpu_log(const char *optarg);
18 void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg);
20 #endif