From b55c22c65b630137a2374ce9f2cfbf71322b7b71 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Sat, 12 Mar 2011 17:44:07 +0100 Subject: [PATCH] protect qemu_cpu_kick_self for Win32 Signed-off-by: Paolo Bonzini Signed-off-by: Blue Swirl --- cpus.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpus.c b/cpus.c index e0bcb5c721..7559a02016 100644 --- a/cpus.c +++ b/cpus.c @@ -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) -- 2.11.4.GIT