qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] dump-guest-memory enhancement.


From: Peter Maydell
Subject: Re: [Qemu-devel] dump-guest-memory enhancement.
Date: Mon, 11 Nov 2013 21:28:14 +0000

On 11 November 2013 03:28, Phi Debian <address@hidden> wrote:
> The Align fot the PT_LOAD is ZERO, then the offset is 0x114, having an
> Align set to TARGET_PAGE_BITS, (or at least 4Kb) would provide a
> chance for any debugger to do page align copy (either lseek/read, or
> mmap) as they trip on the core, marginal detail, but may help.

You almost certainly don't want TARGET_PAGE_BITS or
TARGET_PAGE_SIZE. These refer to the *minimum* page size
for the target CPU architecture, which may well be smaller than
the actual page size being used by either the host or the target OS.
In particular, for ARM TARGET_PAGE_SIZE is 1K, but both host
and guest are probably using 4K pages.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]