cpu: Move CPU_COMMON_THREAD into CPUState
CPU_COMMON_THREAD was only used for Windows, adding an hThread fieldto 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...
qemu-thread: Let qemu_thread_is_self() return bool
qemu_cpu_is_self(), passing the return value through, will later beadapted to return bool as well.
Signed-off-by: Andreas Färber <afaerber@suse.de>Reviewed-by: Stefan Weil <sw@weilnetz.de>
Replace 'struct siginfo' with 'siginfo_t'.
glibc 2.16 will remove the undocumented definition of 'struct siginfo'from <bits/siginfo.h>.
This change is already present in glibc 2.15.90, so qemu compilationof certain targets (eg. cris-user) breaks.
This struct was always typedef'd to be the same as 'siginfo_t' which...
target-i386: move cpu halted decision into x86_cpu_reset
MP initialization protocol differs between cpu families, and for P6 andonward models it is up to CPU to decide if it will be BSP using thisprotocol, so try to model this. However there is no point in implementing...
target-i386: move cpu_reset and reset callback to cpu.c
Moving reset callback into cpu object from board level andresetting cpu at the end of x86_cpu_realize() will allow properlycreate cpu object during run-time (hotplug) without calling reset externaly....
fix Xen compilation
xen_pt_unregister_device is used as PCIUnregisterFunc, so it shouldmatch the type.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure: -I\$(SRC_PATH) goes in QEMU_INCLUDES not QEMU_CFLAGS
If the smartcard configure check passes, add '-I\$(SRC_PATH)/libcacard'to QEMU_INCLUDES, not QEMU_CFLAGS. Otherwise the unexpanded SRC_PATHwill cause a warning in every following configure test....
configure: Fix compile warning in utimensat/futimens test
Fix compile warning in the utimensat/futimens test ("implicitdeclaration of function 'utimensat'", ditto futimens) byadding a missing include.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>...
configure: Fix warnings in VDE library probe
Fix compile warnings in the VDE library probe ("passing argument 1 of'vde_open_real' discards 'const' qualifier from pointer target type",ditto argument 2).
configure: Fix compile warning in PNG test
Fix compile warning (variable 'png_ptr' set but not used) in thePNG detection test code.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Reviewed-by: Stefan Weil <sw@weilnetz.de>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
View all revisions | View revisions
Also available in: Atom