]> git.proxmox.com Git - qemu.git/blame - include/sysemu/cpus.h
Merge remote-tracking branch 'awilliam/tags/vfio-pci-for-qemu-20131010.0' into staging
[qemu.git] / include / sysemu / cpus.h
CommitLineData
296af7c9
BS
1#ifndef QEMU_CPUS_H
2#define QEMU_CPUS_H
3
7277e027 4/* cpus.c */
d3b12f5d 5void qemu_init_cpu_loop(void);
296af7c9
BS
6void resume_all_vcpus(void);
7void pause_all_vcpus(void);
b4a3d965 8void cpu_stop_current(void);
296af7c9 9
17a4663e
BS
10void cpu_synchronize_all_states(void);
11void cpu_synchronize_all_post_reset(void);
12void cpu_synchronize_all_post_init(void);
13
8156be56
PB
14void qtest_clock_warp(int64_t dest);
15
54fb7bf6 16#ifndef CONFIG_USER_ONLY
296af7c9
BS
17/* vl.c */
18extern int smp_cores;
19extern int smp_threads;
54fb7bf6
EH
20#else
21/* *-user doesn't have configurable SMP topology */
22#define smp_cores 1
23#define smp_threads 1
24#endif
25
296af7c9 26void set_numa_modes(void);
9a78eead 27void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg);
296af7c9
BS
28
29#endif