mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
Refactor CPUState handling out of vl.c
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
de06f8d193
commit
296af7c952
4 changed files with 795 additions and 747 deletions
18
cpus.h
Normal file
18
cpus.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue