aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-05-02 23:10:09 +0200
committerAndreas Färber <afaerber@suse.de>2012-10-31 01:02:44 +0100
commit4fdeee7cd4c8f90ef765537b9346a195d9483ab5 (patch)
treeb8d4481845d7177097111d9d3ff69e4b495bf3d9 /include
parent61a4621784a808f5ad7d63f60e2c5e8b2488c213 (diff)
cpu: Move stop 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qemu/cpu.h b/include/qemu/cpu.h
index 3ab2e2567f..04c7848b8f 100644
--- a/include/qemu/cpu.h
+++ b/include/qemu/cpu.h
@@ -55,6 +55,7 @@ typedef struct CPUClass {
/**
* CPUState:
* @created: Indicates whether the CPU thread has been successfully created.
+ * @stop: Indicates a pending stop request.
*
* State of one CPU core or thread.
*/
@@ -69,6 +70,7 @@ struct CPUState {
#endif
bool thread_kicked;
bool created;
+ bool stop;
/* TODO Move common fields from CPUArchState here. */
};