aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-05-02 22:49:36 +0200
committerAndreas Färber <afaerber@suse.de>2012-10-31 01:02:44 +0100
commit61a4621784a808f5ad7d63f60e2c5e8b2488c213 (patch)
tree1dd2b7a47e786f253f29afb84433789b62c08e73 /include
parent2ff09a40a8399a6f9807ebdb72423ec0a581c3b3 (diff)
cpu: Move created 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 7be983d89c..3ab2e2567f 100644
--- a/include/qemu/cpu.h
+++ b/include/qemu/cpu.h
@@ -54,6 +54,7 @@ typedef struct CPUClass {
/**
* CPUState:
+ * @created: Indicates whether the CPU thread has been successfully created.
*
* State of one CPU core or thread.
*/
@@ -67,6 +68,7 @@ struct CPUState {
HANDLE hThread;
#endif
bool thread_kicked;
+ bool created;
/* TODO Move common fields from CPUArchState here. */
};