qemu-e2k/hw/ppc
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
..
e500-ccsr.h
e500.c PPC: E500: Set PIR default reset value rather than SPR value 2014-04-08 11:19:59 +02:00
e500.h
e500plat.c device_tree: s/qemu_devtree/qemu_fdt globally 2013-12-20 01:58:11 +01:00
mac_newworld.c
mac_oldworld.c
mac.h
Makefile.objs ppcemb-softmmu: Drop Mac and e500 emulation 2014-02-13 17:47:43 +01:00
mpc8544_guts.c
mpc8544ds.c device_tree: s/qemu_devtree/qemu_fdt globally 2013-12-20 01:58:11 +01:00
ppc4xx_devs.c hw/ppc: Avoid shifting left into sign bit 2014-03-27 19:22:49 +04:00
ppc4xx_pci.c pci-host: Consistently set cannot_instantiate_with_device_add_yet 2013-12-23 00:27:23 +01:00
ppc405_boards.c
ppc405_uc.c target-ppc: Clean up ENV_GET_CPU() usage 2014-03-13 19:01:48 +01:00
ppc405.h
ppc440_bamboo.c hw/ppc: Avoid shifting left into sign bit 2014-03-27 19:22:49 +04:00
ppc_booke.c hw/ppc: Avoid shifting left into sign bit 2014-03-27 19:22:49 +04:00
ppc.c PPC: Clean up DECR implementation 2014-04-08 11:20:04 +02:00
ppce500_spin.c ppce500_spin: Initialize struct properly 2014-04-08 11:20:05 +02:00
prep.c PortioList: Store PortioList in device state 2014-05-05 20:58:33 +02:00
spapr_events.c
spapr_hcall.c spapr_hcall: Fix little-endian resource handling in H_SET_MODE 2014-03-20 02:39:33 +01:00
spapr_iommu.c target-ppc: Introduce hypervisor call H_GET_TCE 2014-03-05 03:07:03 +01:00
spapr_pci.c PowerPC queue for 2.0-rc0 2014-03-13 13:19:46 +00:00
spapr_rtas.c target-ppc: spapr: e500: fix to use cpu_dt_id 2014-03-05 03:07:04 +01:00
spapr_vio.c spapr_vio: Fix firmware names 2014-03-20 02:40:13 +01:00
spapr.c machine: Remove QEMUMachine indirection from MachineClass 2014-05-05 19:08:49 +02:00
virtex_ml507.c hw/ppc: Avoid shifting left into sign bit 2014-03-27 19:22:49 +04:00