f173d57a4c
Allocate each IRQ individually on array allocations. This prepares for QOMification of IRQs, where pointers to individual IRQs may be taken and handed around for usage as QOM Links. The g_renew() scheme used here is too fragile and would break all existing links should an IRQ list be extended. We now have to pass the IRQ count to qemu_free_irqs(). We have so few call sites however, so this change is reasonably trivial. Cc: agarcia@igalia.com Cc: mst@redhat.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Acked-by: Alberto Garcia <agarcia@igalia.com> Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Andreas Färber <afaerber@suse.de> |
||
---|---|---|
.. | ||
acpi | ||
arm | ||
audio | ||
block | ||
char | ||
cpu | ||
cris | ||
i2c | ||
i386 | ||
input | ||
intc | ||
ipack | ||
isa | ||
kvm | ||
lm32 | ||
m68k | ||
mem | ||
mips | ||
misc | ||
net | ||
nvram | ||
pci | ||
pci-host | ||
ppc | ||
s390x | ||
scsi | ||
sh4 | ||
sparc | ||
timer | ||
unicore32 | ||
usb | ||
virtio | ||
xen | ||
boards.h | ||
bt.h | ||
devices.h | ||
elf_ops.h | ||
empty_slot.h | ||
fw-path-provider.h | ||
hotplug.h | ||
hw.h | ||
ide.h | ||
irq.h | ||
loader.h | ||
pcmcia.h | ||
ptimer.h | ||
qdev-core.h | ||
qdev-dma.h | ||
qdev-properties.h | ||
qdev.h | ||
sd.h | ||
ssi.h | ||
stream.h | ||
sysbus.h | ||
usb.h |