Re: [Qemu-devel] [PATCH] translate-all.c: fix debug memory maps printing

2014-09-05 Thread Peter Maydell
On 5 September 2014 09:59, Mikhail Ilin wrote: > I also wonder we have separate linux-user emulators for i386 (32 bit > ABI + 32 bit address space) and amd64 binaries (64 bit ABI + 64 bit > address space). And we can not run 32 bits apps under qemu-x86_64 but > MIPS N32 looks in some other way and

Re: [Qemu-devel] [PATCH] translate-all.c: fix debug memory maps printing

2014-09-05 Thread Mikhail Ilin
I've also found that this issue in walker API leads to creating a misformed core file. elf_core_dump() uses walk_memory_regions() to build memory mapping for a core file. As a result the core file has a very small size and doesn't contain page snapshots of mapped libraries. I've compiled a simp

Re: [Qemu-devel] [PATCH] translate-all.c: fix debug memory maps printing

2014-08-25 Thread Paolo Bonzini
Il 25/08/2014 13:45, Paolo Bonzini ha scritto: > Il 11/08/2014 12:28, Mikhail Ilyin ha scritto: >> Fix memory maps textualizing function. The output was not correct because of >> wrong base address calculation. The initial address has to be shifted also >> for TARGET_PAGE_BITS. >> >> Signed-off-by:

Re: [Qemu-devel] [PATCH] translate-all.c: fix debug memory maps printing

2014-08-25 Thread Paolo Bonzini
Il 11/08/2014 12:28, Mikhail Ilyin ha scritto: > Fix memory maps textualizing function. The output was not correct because of > wrong base address calculation. The initial address has to be shifted also > for TARGET_PAGE_BITS. > > Signed-off-by: Mikhail Ilyin > --- > translate-all.c | 3 +-- > 1

[Qemu-devel] [PATCH] translate-all.c: fix debug memory maps printing

2014-08-11 Thread Mikhail Ilyin
Fix memory maps textualizing function. The output was not correct because of wrong base address calculation. The initial address has to be shifted also for TARGET_PAGE_BITS. Signed-off-by: Mikhail Ilyin --- translate-all.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tra