monitor: Prevent sign-extension of 32-bit addresses printed by info mem
Previously, on 32-bit i386, info mem used signed 32-bit int's to storethe page table indexes. As a result, address calculation was done in32 bits and then incorrectly sign-extended to 64 bits, yielding output...
w32: Fix format string regression
Commit 953ffe0f935f40c0d6061d69e76e0339393b54f8introduced FMT_pid which is wrong for w32 and w64 getpid():those getpid() implementations always return an int value.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
w64: Add definition of FMT_pid
For mingw-w64, pid_t is _pid_t which is __int64,so this platform needs its own definition of FMT_pid.
Reviewed-by: Andreas Färber <andreas.faerber@web.de>Signed-off-by: Stefan Weil <weil@mail.berlios.de>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Fix conversions from pointer to tcg_target_long
tcg_gen_exit_tb takes a parameter of type tcg_target_long,so the type casts of pointer to long should be replaced bytype casts of pointer to tcg_target_long.
These changes are needed for build environments where...
Remove remenants of qemu_malloc
This covers the various check commands
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Update HACKING to refer to g_malloc instead of qemu_malloc
Add trace points for g_malloc/g_free functions
Derived from a patch submitted by Avi Kivity.
Use glib memory allocation and free functions
qemu_malloc/qemu_free no longer exist after this commit.
Remove qemu_malloc/qemu_free
Make glib mandatory and fixup utils appropriately
View all revisions | View revisions
Also available in: Atom