qemu/hw/dma
Kirill Batuzov 848696bf35 PortioList: Store PortioList in device state
PortioList is an abstraction used for construction of MemoryRegionPortioList
from MemoryRegionPortio. It can be used later to unmap created memory regions.
It also requires proper cleanup because some of the memory inside is allocated
dynamically.

By moving PortioList ot device state we make it possible to cleanup later and
avoid leaking memory.

This change spans several target platforms.  The following testcases cover all
changed lines:
  qemu-system-ppc -M prep
  qemu-system-i386 -vga qxl
  qemu-system-i386 -M isapc -soundhw adlib -device ib700,id=watchdog0,bus=isa.0

Signed-off-by: Kirill Batuzov <batuzovk@ispras.ru>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2014-05-05 20:58:33 +02:00
..
Makefile.objs hw: move DMA controllers to hw/dma/, configure with default-configs/ 2013-04-08 18:13:14 +02:00
etraxfs_dma.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
i8257.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
i82374.c PortioList: Store PortioList in device state 2014-05-05 20:58:33 +02:00
omap_dma.c hw/dma/omap_dma: Fix bugs with DMA requests above 32 2013-07-15 16:17:44 +01:00
pl080.c exec: Make ldl_*_phys input an AddressSpace 2014-02-11 22:56:54 +10:00
pl330.c dma/pl330: implement dmaadnh instruction 2014-02-26 17:20:09 +00:00
puv3_dma.c puv3_dma: QOM cast cleanup 2013-07-29 21:06:45 +02:00
pxa2xx_dma.c pxa2xx_dma: QOM cast cleanup 2013-07-29 21:06:45 +02:00
rc4030.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
soc_dma.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
sparc32_dma.c hw: cannot_instantiate_with_device_add_yet due to pointer props 2013-12-24 17:27:17 +01:00
sun4m_iommu.c qdev: Remove hex8/32/64 property types 2014-02-14 21:12:04 +01:00
xilinx_axidma.c hw: Consistently name Error * objects err, and not errp 2014-05-05 19:08:49 +02:00