[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH-for-5.2] memory: Add trace events to audit MemoryRegionOps fi
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH-for-5.2] memory: Add trace events to audit MemoryRegionOps fields |
Date: |
Wed, 19 Aug 2020 15:07:19 +0100 |
On Wed, Aug 19, 2020 at 12:10:20PM +0200, Philippe Mathieu-Daudé wrote:
> But for now I'm not sure the check has to be enforced, because I'm not
> sure what we really want to do. First we need to figure out the 'bus'
> component of a a MemoryRegion (where it sits), as it affects the
> MemoryRegionOps possible range values.
The natural place to enforce bus-specific constraints is when
MemoryRegions are registered with their bus. For example,
pci_register_bar().
SysBus devices need to specify constraints manually since there is no
real bus emulation.
Stefan
signature.asc
Description: PGP signature