hw/display: Let devices own the MemoryRegion they create
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Sat, 22 Feb 2020 17:12:09 +0000 (18:12 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Mar 2020 14:18:48 +0000 (15:18 +0100)
commitb9fc4f6e6218439684abbae863bbcb2ecef9201e
tree1355dd1469024f20a3c895e4484118d1cb806a9c
parentde95af9967a777263894165e3ba576581a82da4e
hw/display: 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/display/g364fb.c
hw/display/macfb.c