summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Färber2012-05-03 04:34:15 +0200
committerAndreas Färber2012-10-31 01:02:45 +0100
commitc08d7424d600dce915a5506e95d55a359c243c66 (patch)
treef582f50c912f4558ac4f8d93929970484b013ba8 /include
parenttarget-ppc: Rename kvm_kick_{env => cpu} and pass PowerPCCPU (diff)
downloadqemu-c08d7424d600dce915a5506e95d55a359c243c66.tar.gz
qemu-c08d7424d600dce915a5506e95d55a359c243c66.tar.xz
qemu-c08d7424d600dce915a5506e95d55a359c243c66.zip
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.
*