Refactor CPUState handling out of vl.c

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2010-03-29 19:23:50 +00:00
parent de06f8d193
commit 296af7c952
4 changed files with 795 additions and 747 deletions

18
cpus.h Normal file
View file

@ -0,0 +1,18 @@
#ifndef QEMU_CPUS_H
#define QEMU_CPUS_H
/* cpu-common.c */
int qemu_init_main_loop(void);
void resume_all_vcpus(void);
void pause_all_vcpus(void);
/* vl.c */
extern int smp_cores;
extern int smp_threads;
extern int debug_requested;
void vm_state_notify(int running, int reason);
bool tcg_cpu_exec(void);
void set_numa_modes(void);
void set_cpu_log(const char *optarg);
#endif