summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-05-03 06:59:07 +0200
committerAndreas Färber <afaerber@suse.de>2012-10-31 04:12:23 +0100
commit9f09e18a6df39ab11cd80e203c5736af1823f3b3 (patch)
treea068474121d1d07026de378123bae50bbd11cc01 /include
parentf100f0b38fe43c683f437a8fa3e449d6752f6a58 (diff)
cpu: Move thread_id to CPUState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/qemu/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/cpu.h b/include/qemu/cpu.h
index 33f01d9a6f..61b76982f1 100644
--- a/include/qemu/cpu.h
+++ b/include/qemu/cpu.h
@@ -69,6 +69,7 @@ struct CPUState {
#ifdef _WIN32
HANDLE hThread;
#endif
+ int thread_id;
struct QemuCond *halt_cond;
struct qemu_work_item *queued_work_first, *queued_work_last;
bool thread_kicked;