[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCHv2 5/6] target-arm: add dump-guest-memory support
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCHv2 5/6] target-arm: add dump-guest-memory support |
Date: |
Thu, 4 Apr 2013 10:49:59 +0100 |
On 4 April 2013 10:47, Paolo Bonzini <address@hidden> wrote:
> Il 24/03/2013 21:39, Peter Maydell ha scritto:
>>> > (come to think of it, I guess this ARM code will need to use ELFCLASS64
>>> > when we have physical memory > 4GiB (LPAE))
>> It would be good to check whether that is correct -- mostly core
>> files are for dumps of a virtual address space so I don't know
>> whether gdb/etc would understand an ARM corefile which claimed
>> ELFCLASS64. (I mean understand it as an AArch32 corefile rather
>> than AArch64.)
>
> Note that in this case we can choose between physical and virtual
> address space dumps.
>
> Virtual address space is mostly useful with gdb; physical address space
> can be used for example with "crash", a post-mortem kernel debugger.
Yeah, my point was really that either way we should be checking
how the kernel and these tools expect to handle an LPAE dump.
-- PMM