Re: [PATCH] memory: Forbid memory_region_set_address() on AS root

2021-04-17 Thread Philippe Mathieu-Daudé
On 4/17/21 2:53 PM, Philippe Mathieu-Daudé wrote: > To be sure an AddressSpace is zero-based, forbid changing > base address of MemoryRegion used as AddressSpace container. > > Signed-off-by: Philippe Mathieu-Daudé > --- > Based-on: <20210417103028.601124-1-f4...@amsat.org> > --- > softmmu/memor

[PATCH] memory: Forbid memory_region_set_address() on AS root

2021-04-17 Thread Philippe Mathieu-Daudé
To be sure an AddressSpace is zero-based, forbid changing base address of MemoryRegion used as AddressSpace container. Signed-off-by: Philippe Mathieu-Daudé --- Based-on: <20210417103028.601124-1-f4...@amsat.org> --- softmmu/memory.c | 1 + 1 file changed, 1 insertion(+) diff --git a/softmmu/me