qemu-patch-raspberry4/hw/isa
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
..
apm.c hw/i*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
i82378.c i82378: Cleanup implementation 2013-07-31 23:25:41 +02:00
isa-bus.c PortioList: Store PortioList in device state 2014-05-05 20:58:33 +02:00
lpc_ich9.c ich9: Document why cannot_instantiate_with_device_add_yet 2013-12-23 00:27:23 +01:00
Makefile.objs isa_mmio: delete 2013-07-25 08:12:27 -05:00
pc87312.c qdev: Remove hex8/32/64 property types 2014-02-14 21:12:04 +01:00
piix4.c qdev:pci: refactor PCIDevice to use generic "hotpluggable" property 2014-02-10 10:26:56 +02:00
vt82c686.c i2c: Rename i2c_bus to I2CBus 2014-02-14 16:22:31 +01:00