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
+1 -1
View File
@@ -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
+773
View File
File diff suppressed because it is too large Load Diff
+18
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
+3 -746
View File
File diff suppressed because it is too large Load Diff