Re: [Qemu-devel] [PATCH 02/15] monitor.c: Use ld*_p() instead of ld*_raw()

2015-01-15 Thread Alex Bennée
Peter Maydell writes: > The monitor code for doing a memory_dump() was using ld*_raw() to do > target-CPU accesses out of a local buf[] array. The correct functions > for this purpose are ld*_p(), which take a host pointer, rather than > ld*_raw(), which take an integer representing a guest addr

[Qemu-devel] [PATCH 02/15] monitor.c: Use ld*_p() instead of ld*_raw()

2015-01-15 Thread Peter Maydell
The monitor code for doing a memory_dump() was using ld*_raw() to do target-CPU accesses out of a local buf[] array. The correct functions for this purpose are ld*_p(), which take a host pointer, rather than ld*_raw(), which take an integer representing a guest address and are somewhat meaningless