mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Refactor CPUState handling out of vl.c
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
+1
-1
@@ -161,7 +161,7 @@ endif #CONFIG_BSD_USER
|
||||
# System emulator target
|
||||
ifdef CONFIG_SOFTMMU
|
||||
|
||||
obj-y = vl.o monitor.o machine.o gdbstub.o
|
||||
obj-y = vl.o cpus.o monitor.o machine.o gdbstub.o
|
||||
obj-y += qemu-timer.o
|
||||
# virtio has to be here due to weird dependency between PCI and virtio-net.
|
||||
# need to fix this properly
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user