On Thu, Mar 11, 2021 at 05:21:49PM +0100, Philippe Mathieu-Daudé wrote: > So using: > > -- >8 -- > diff --git a/softmmu/memory.c b/softmmu/memory.c > index 874a8fccdee..8ce2d7f83b9 100644 > --- a/softmmu/memory.c > +++ b/softmmu/memory.c > @@ -713,6 +713,12 @@ static MemoryRegion > *memory_region_get_flatview_root(MemoryRegion *mr) > continue; > } > } > + if (mr && mr->addr) { > + error_report("Detected flatview root memory region '%s' with" > + " non-zero base address (0x%"HWADDR_PRIx"): > aborting", > + memory_region_name(mr), mr->addr); > + abort(); > + } > > return mr; > } (Attaching again...) -- Peter Xu