On Thu, Jan 27, 2011 at 02:10:00PM +0100, Jan Kiszka wrote:
Introduce qemu_cpu_kick_self to send SIG_IPI to the calling VCPU
context. First user will be kvm.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
cpus.c| 21 +
qemu-common.h |1 +
2 files
On 2011-02-01 14:14, Marcelo Tosatti wrote:
On Thu, Jan 27, 2011 at 02:10:00PM +0100, Jan Kiszka wrote:
Introduce qemu_cpu_kick_self to send SIG_IPI to the calling VCPU
context. First user will be kvm.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
cpus.c| 21
On Tue, Feb 01, 2011 at 02:33:45PM +0100, Jan Kiszka wrote:
+++ b/cpus.c
@@ -531,6 +531,17 @@ void qemu_cpu_kick(void *env)
return;
}
+void qemu_cpu_kick_self(void)
+{
+#ifndef _WIN32
+assert(cpu_single_env);
+
+raise(SIG_IPI);
+#else
+abort();
On 2011-02-01 14:50, Marcelo Tosatti wrote:
On Tue, Feb 01, 2011 at 02:33:45PM +0100, Jan Kiszka wrote:
+++ b/cpus.c
@@ -531,6 +531,17 @@ void qemu_cpu_kick(void *env)
return;
}
+void qemu_cpu_kick_self(void)
+{
+#ifndef _WIN32
+assert(cpu_single_env);
+
+
Introduce qemu_cpu_kick_self to send SIG_IPI to the calling VCPU
context. First user will be kvm.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
cpus.c| 21 +
qemu-common.h |1 +
2 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/cpus.c