diff options
author | Andreas Färber | 2012-05-03 04:34:15 +0200 |
---|---|---|
committer | Andreas Färber | 2012-10-31 01:02:45 +0100 |
commit | c08d7424d600dce915a5506e95d55a359c243c66 (patch) | |
tree | f582f50c912f4558ac4f8d93929970484b013ba8 /include | |
parent | target-ppc: Rename kvm_kick_{env => cpu} and pass PowerPCCPU (diff) | |
download | qemu-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.h | 8 |
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. * |