]> git.proxmox.com Git - mirror_qemu.git/commit
memory: convert memory_region_destroy to object_unparent
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 11 Jun 2014 10:42:01 +0000 (12:42 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Aug 2014 10:06:20 +0000 (12:06 +0200)
commitd8d95814609e89e5438a3318a647ec322fc4ff16
treea3f5cd4ff75d6488f0b00968cd7ed5c3a8df2c0b
parente3fb0ade83420a86464ee50c71f2daf5641cab10
memory: convert memory_region_destroy to object_unparent

Explicitly call object_unparent in the few places where we
will re-create the memory region.  If the memory region is
simply being destroyed as part of device teardown, let QOM
handle it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/memory.txt
hw/display/vga.c
hw/i386/kvmvapic.c
hw/mips/gt64xxx_pci.c
hw/misc/omap_gpmc.c
hw/misc/vfio.c
hw/ppc/ppc4xx_devs.c
ioport.c
memory.c