qemu/hw/audio
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
..
ac97.c hw: set interrupts using pci irq wrappers 2013-10-14 17:11:45 +03:00
adlib.c PortioList: Store PortioList in device state 2014-05-05 20:58:33 +02:00
cs4231.c cs4231: QOM cast cleanup 2013-07-29 20:45:48 +02:00
cs4231a.c qdev: Remove hex8/32/64 property types 2014-02-14 21:12:04 +01:00
es1370.c hw: set interrupts using pci irq wrappers 2013-10-14 17:11:45 +03:00
fmopl.c audio: Add 'static' attributes to several variables 2014-03-15 13:54:18 +04:00
fmopl.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
gus.c qdev: Remove hex8/32/64 property types 2014-02-14 21:12:04 +01:00
gusemu_hal.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
gusemu_mixer.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
gusemu.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
gustate.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
hda-codec-common.h hda-codec: make mixemu selectable at runtime 2013-09-24 10:29:34 +02:00
hda-codec.c hda-audio: fix non-mixer codecs 2014-04-29 10:46:29 +02:00
intel-hda-defs.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
intel-hda.c misc: Use macro ARRAY_SIZE where possible 2013-12-23 16:02:19 +04:00
intel-hda.h intel-hda: Pass size to hda_codec_bus_init() 2013-08-30 20:14:38 +02:00
lm4549.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
lm4549.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
Makefile.objs audio: replace audio card configuration with default-configs 2013-04-29 12:16:37 -05:00
marvell_88w8618.c hw: cannot_instantiate_with_device_add_yet due to pointer props 2013-12-24 17:27:17 +01:00
milkymist-ac97.c milkymist-ac97: QOM cast cleanup 2013-07-29 21:05:58 +02:00
pcspk.c qdev: Remove hex8/32/64 property types 2014-02-14 21:12:04 +01:00
pl041.c sysbus: Set cannot_instantiate_with_device_add_yet 2013-12-23 00:27:22 +01:00
pl041.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
pl041.hx hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
sb16.c qdev: Remove hex8/32/64 property types 2014-02-14 21:12:04 +01:00
wm8750.c wm8750: QOM'ify 2014-02-14 16:22:32 +01:00