mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
cpus: Pass CPUState to qemu_cpu_kick()
CPUArchState is no longer needed there. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
d5a6814697
commit
c08d7424d6
12 changed files with 26 additions and 20 deletions
|
@ -95,6 +95,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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue