qemu-devel
[Top][All Lists]
Advanced

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

Re: Page alignment & memory regions expectations


From: Peter Maydell
Subject: Re: Page alignment & memory regions expectations
Date: Thu, 25 Aug 2022 12:47:54 +0100

On Thu, 25 Aug 2022 at 08:27, David Hildenbrand <david@redhat.com> wrote:
> On 24.08.22 21:55, Peter Maydell wrote:
> > Lumps of memory can be any size you like and anywhere in
> > memory you like. Sometimes we are modelling real hardware
> > that has done something like that. Sometimes it's just
> > a convenient way to model a device. Generic code in
> > QEMU does need to cope with this...
>
> But we are talking about system RAM here. And judging by the fact that
> this is the first time dump.c blows up like this, this doesn't seem to
> very common, no?

What's your definition of "system RAM", though? The biggest
bit of RAM in the system? Anything over X bytes? Whatever
the machine set up as MachineState::ram ? As currently
written, dump.c is operating on every RAM MemoryRegion
in the system, which includes a lot of things which aren't
"system RAM" (for instance, it includes framebuffers and
ROMs).

-- PMM



reply via email to

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