hw/arm: Let devices own the MemoryRegion they create
commit32b9523ad5b44dea87792d5d8f71a87e8cc5803b
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 24 Feb 2020 17:32:23 +0000 (24 18:32 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Mar 2020 14:18:50 +0000 (17 15:18 +0100)
treecbb0e660e9f536833bc7c7c24d6b37d51477bcab
parent5b871c1b62036ef06eaf96ec03bbad801fcf9b89
hw/arm: Let devices own the MemoryRegion they create

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é <philmd@redhat.com>
hw/arm/exynos4210.c
hw/arm/fsl-imx25.c
hw/arm/fsl-imx31.c
hw/arm/fsl-imx6.c
hw/arm/fsl-imx6ul.c
hw/arm/msf2-soc.c
hw/arm/nrf51_soc.c
hw/arm/stm32f205_soc.c
hw/arm/stm32f405_soc.c
hw/arm/xlnx-zynqmp.c