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