summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-05-03 04:34:15 +0200
committerAndreas Färber <afaerber@suse.de>2012-10-31 01:02:45 +0100
commitc08d7424d600dce915a5506e95d55a359c243c66 (patch)
treef582f50c912f4558ac4f8d93929970484b013ba8 /include
parentd5a6814697014561dd0a2e2871df0e6c62a0ce59 (diff)
downloadqemu-c08d7424d600dce915a5506e95d55a359c243c66.tar.gz
cpus: Pass CPUState to qemu_cpu_kick()
CPUArchState is no longer needed there. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/qemu/cpu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/qemu/cpu.h b/include/qemu/cpu.h
index 75e0f8dc68..bfeb2245ab 100644
--- a/include/qemu/cpu.h
+++ b/include/qemu/cpu.h
@@ -96,6 +96,14 @@ void cpu_reset(CPUState *cpu);
bool qemu_cpu_is_self(CPUState *cpu);
/**
+ * qemu_cpu_kick:
+ * @cpu: The vCPU to kick.
+ *
+ * Kicks @cpu's thread.
+ */
+void qemu_cpu_kick(CPUState *cpu);
+
+/**
* cpu_is_stopped:
* @cpu: The CPU to check.
*