diff options
| author | Andreas Färber | 2012-05-02 23:26:21 +0200 |
|---|---|---|
| committer | Andreas Färber | 2012-10-31 01:02:44 +0100 |
| commit | f324e7667a3c1f1aed9a5169a63aaac628feef47 (patch) | |
| tree | 406e4887b2f03a4da99a79bed386fee62ea26ba1 /include | |
| parent | ppce500_spin: Store PowerPCCPU in SpinKick (diff) | |
| download | qemu-f324e7667a3c1f1aed9a5169a63aaac628feef47.tar.gz qemu-f324e7667a3c1f1aed9a5169a63aaac628feef47.tar.xz qemu-f324e7667a3c1f1aed9a5169a63aaac628feef47.zip | |
cpu: Move stopped field to CPUState
Change its type to bool.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include')
| -rw-r--r-- | include/qemu/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qemu/cpu.h b/include/qemu/cpu.h index 04c7848b8f..83378c54ae 100644 --- a/include/qemu/cpu.h +++ b/include/qemu/cpu.h @@ -56,6 +56,7 @@ typedef struct CPUClass { * CPUState: * @created: Indicates whether the CPU thread has been successfully created. * @stop: Indicates a pending stop request. + * @stopped: Indicates the CPU has been artificially stopped. * * State of one CPU core or thread. */ @@ -71,6 +72,7 @@ struct CPUState { bool thread_kicked; bool created; bool stop; + bool stopped; /* TODO Move common fields from CPUArchState here. */ }; |
