summaryrefslogtreecommitdiffstats
path: root/include/qemu
diff options
context:
space:
mode:
authorAndreas Färber2012-05-02 22:49:36 +0200
committerAndreas Färber2012-10-31 01:02:44 +0100
commit61a4621784a808f5ad7d63f60e2c5e8b2488c213 (patch)
tree1dd2b7a47e786f253f29afb84433789b62c08e73 /include/qemu
parentcpus: Pass CPUState to qemu_cpu_kick_thread() (diff)
downloadqemu-61a4621784a808f5ad7d63f60e2c5e8b2488c213.tar.gz
qemu-61a4621784a808f5ad7d63f60e2c5e8b2488c213.tar.xz
qemu-61a4621784a808f5ad7d63f60e2c5e8b2488c213.zip
cpu: Move created field to CPUState
Change its type to bool. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/qemu')
-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. */
};