summary refs log tree commit diff stats
path: root/include/qemu/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qemu/cpu.h')
-rw-r--r--include/qemu/cpu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/qemu/cpu.h b/include/qemu/cpu.h
index 78b65b35fc..ad706a6dbd 100644
--- a/include/qemu/cpu.h
+++ b/include/qemu/cpu.h
@@ -21,6 +21,7 @@
 #define QEMU_CPU_H
 
 #include "qemu/object.h"
+#include "qemu-thread.h"
 
 /**
  * SECTION:cpu
@@ -61,6 +62,12 @@ struct CPUState {
     Object parent_obj;
     /*< public >*/
 
+    struct QemuThread *thread;
+#ifdef _WIN32
+    HANDLE hThread;
+#endif
+    bool thread_kicked;
+
     /* TODO Move common fields from CPUArchState here. */
 };