Re: [PATCH v3 20/25] hw/riscv: Let devices own the MemoryRegion they create

2020-03-16 Thread Alistair Francis
On Mon, Mar 16, 2020 at 11:54 AM Philippe Mathieu-Daudé wrote: > > Avoid orphan memory regions being added in the /unattached QOM > container. > > This commit was produced with the Coccinelle script > scripts/coccinelle/memory-region-housekeeping.cocci. > > Signed-off-by: Philippe Mathieu-Daudé

[PATCH v3 20/25] hw/riscv: Let devices own the MemoryRegion they create

2020-03-16 Thread Philippe Mathieu-Daudé
Avoid orphan memory regions being added in the /unattached QOM container. This commit was produced with the Coccinelle script scripts/coccinelle/memory-region-housekeeping.cocci. Signed-off-by: Philippe Mathieu-Daudé --- hw/riscv/sifive_e.c | 6 +++--- hw/riscv/sifive_u.c | 2 +- 2 files