diff options
author | Andreas Färber <afaerber@suse.de> | 2012-05-03 04:34:15 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-10-31 01:02:45 +0100 |
commit | c08d7424d600dce915a5506e95d55a359c243c66 (patch) | |
tree | f582f50c912f4558ac4f8d93929970484b013ba8 /include | |
parent | d5a6814697014561dd0a2e2871df0e6c62a0ce59 (diff) |
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 75e0f8dc6..bfeb2245a 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. * |