Move generic or OS function declarations to qemu-common.h
Move generic or OS related function declarations and macroTFR to qemu-common.h.
Move win32 include directives to qemu-os-win32.h. While moving,also add #include <winsock2.h> to fix a recent mingw32...
Use qemu-common.h or qemu-timer.h in place of sysemu.h
In some cases qemu-common.h or qemu-timer.h can be used in placeof sysemu.h.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Remove unused sysemu.h include directives
Remove unused sysemu.h include directives to speed up buildwith the following patches.
json-lexer: fix conflict with mingw32 ERROR definition
The name ERROR is too generic, it conflicts with mingw32 ERROR definition.
Replace ERROR with IN_ERROR.
sparc: Fix assertion caused by empty memory slot with 0 byte
If the memory size given on the command line is equal to themaximum size of memory defined by the hardware, there is no"empty slot" after physical memory.
The following command
qemu-system-sparc -m 256...
really fix -icount in the iothread case
The correct fix for -icount is to consider the biggest differencebetween iothread and non-iothread modes. In the traditional model,CPUs run before the iothread calls select (or WaitForMultipleObjectsfor Win32). In the iothread model, CPUs run while the iothread...
enable vm_clock to "warp" in the iothread+icount case
The previous patch however is not enough, because if the virtual CPUgoes to sleep waiting for a future timer interrupt to wake it up, qemudeadlocks. The timer interrupt never comes because time is driven by...
Revert wrong fixes for -icount in the iothread case
This reverts commits 225d02cd and c9f7383c. While some parts ofthe latter could be saved, I preferred a smooth, complete revert.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Tested-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>...
qemu_next_deadline should not consider host-time timers
It is purely for icount-based virtual timers. And now that we got thecode right, rename the function to clarify the intended scope.
tests/test-mmap.c: Check mmap() return value before using it
Correct the position of a "stop if MAP_FAILED" check in the mmap()tests, so that if mmap() does fail we print a failure messagerather than segfaulting inside memcpy().
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>...
View all revisions | View revisions
Also available in: Atom