projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
714bd04
)
protect qemu_cpu_kick_self for Win32
author
Paolo Bonzini
<pbonzini@redhat.com>
Sat, 12 Mar 2011 16:44:07 +0000
(17:44 +0100)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sun, 13 Mar 2011 14:44:22 +0000
(14:44 +0000)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
cpus.c
patch
|
blob
|
history
diff --git
a/cpus.c
b/cpus.c
index e0bcb5c721d83b2f7f1d87061cff69223ee3066d..7559a02016b0cd6284bc7b7f603205725fa79476 100644
(file)
--- 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)