cpu: Move CPU_COMMON_THREAD into CPUState
commitbcba2a72ed0e0620438929942cb486ad3d08d168
authorAndreas Färber <afaerber@suse.de>
Wed, 2 May 2012 13:24:40 +0000 (2 15:24 +0200)
committerAndreas Färber <afaerber@suse.de>
Thu, 2 Aug 2012 16:12:16 +0000 (2 18:12 +0200)
tree4cc5cfb96755b983fd0abbcf1e7629ab48783bfd
parent2d797b6520d38bc66827b2022e9c620058f18de3
cpu: Move CPU_COMMON_THREAD into CPUState

CPU_COMMON_THREAD was only used for Windows, adding an hThread field
to CPU_COMMON.

Move the field into QOM CPUState and change its type to HANDLE,
which it is assigned from. This requires Windows headers, pulled in
through qemu-thread.h.

Signed-off-by: Andreas Färber <afaerber@suse.de>
cpu-defs.h
cpus.c
include/qemu/cpu.h