diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-03-12 17:44:07 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-03-13 14:44:22 +0000 |
commit | b55c22c65b630137a2374ce9f2cfbf71322b7b71 (patch) | |
tree | 375f279cbb822708d0c92362b2cb7ca677bddfb3 /cpus.c | |
parent | 714bd040906637441fc10a33d1f6553cfef4938a (diff) |
protect qemu_cpu_kick_self for Win32
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'cpus.c')
-rw-r--r-- | cpus.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -867,12 +867,16 @@ void qemu_cpu_kick(void *_env) void qemu_cpu_kick_self(void) { +#ifndef _WIN32 assert(cpu_single_env); if (!cpu_single_env->thread_kicked) { qemu_thread_signal(cpu_single_env->thread, SIG_IPI); cpu_single_env->thread_kicked = true; } +#else + abort(); +#endif } int qemu_cpu_is_self(void *_env) |