qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v1] memory: assert MemoryRegionOps callbacks are defined


From: Peter Maydell
Subject: Re: [PATCH v1] memory: assert MemoryRegionOps callbacks are defined
Date: Thu, 18 Jun 2020 15:29:05 +0100

On Thu, 18 Jun 2020 at 14:35, Paolo Bonzini <pbonzini@redhat.com> wrote:
> - tz_ppc_dummy_ops which is broken and should just use NULL ops

Why is it broken? The intention is to create a MemoryRegion
which asserts if it's ever used (because it is a QEMU bug if
board code ever actually maps that MemoryRegion into anything).
NULL ops doesn't do that, it creates a MemoryRegion whose accesses
all report an error to the guest.

thanks
-- PMM



reply via email to

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