diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-04-12 17:19:06 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-04-12 17:19:06 +0000 |
commit | 7277e027bbbf708979c82c44714f9105bf8e62d7 (patch) | |
tree | d65a019fa9eefaa3058e7095ef0f2522119dced4 /cpus.c | |
parent | 24f7fb19b397c22ddb1582d8e489727f1dc53bef (diff) | |
download | qemu-7277e027bbbf708979c82c44714f9105bf8e62d7.zip qemu-7277e027bbbf708979c82c44714f9105bf8e62d7.tar.gz qemu-7277e027bbbf708979c82c44714f9105bf8e62d7.tar.bz2 |
Fix build when configured with --enable-io-thread
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'cpus.c')
-rw-r--r-- | cpus.c | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -33,6 +33,12 @@ #include "cpus.h" +#ifdef SIGRTMIN +#define SIG_IPI (SIGRTMIN+4) +#else +#define SIG_IPI SIGUSR1 +#endif + static CPUState *cur_cpu; static CPUState *next_cpu; @@ -226,6 +232,10 @@ int qemu_init_main_loop(void) return qemu_event_init(); } +void qemu_main_loop_start(void) +{ +} + void qemu_init_vcpu(void *_env) { CPUState *env = _env; @@ -318,6 +328,12 @@ int qemu_init_main_loop(void) return 0; } +void qemu_main_loop_start(void) +{ + qemu_system_ready = 1; + qemu_cond_broadcast(&qemu_system_cond); +} + static void qemu_wait_io_event_common(CPUState *env) { if (env->stop) { |