mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() The qemu_init_irq() function initializes a TYPE_IRQ QOM object. The caller is therefore responsible for eventually calling qemu_free_irq() to unref (and thus free) it. In many places where we want to initialize an IRQ we are in the init/realize of some other QOM object; if we have a variant of this function that calls object_initialize_child() then the IRQ will be automatically cleaned up when its parent object is destroyed, and we don't need to remember to manually free it. Implement qemu_init_irq_child(), which is to qemu_init_irq() what object_initialize_child() is to object_initialize(). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20250821154053.2417090-2-peter.maydell@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> |
6 days ago | |
---|---|---|
.. | ||
acpi | 2 months ago | |
adc | 11 months ago | |
arm | 1 week ago | |
audio | 1 year ago | |
block | 3 months ago | |
char | 2 months ago | |
core | 1 week ago | |
cpu | ||
cxl | 2 months ago | |
display | 2 months ago | |
dma | 4 months ago | |
firmware | 1 year ago | |
fsi | 5 months ago | |
gpio | 3 months ago | |
hyperv | 4 months ago | |
i2c | 2 months ago | |
i386 | 2 weeks ago | |
ide | 5 months ago | |
input | 11 months ago | |
intc | 1 week ago | |
ipack | 7 months ago | |
ipmi | 5 months ago | |
isa | 5 months ago | |
loongarch | 3 months ago | |
m68k | 5 months ago | |
mem | 5 months ago | |
mips | 5 months ago | |
misc | 2 months ago | |
net | 5 months ago | |
nubus | 5 months ago | |
nvram | 3 months ago | |
openrisc | 7 months ago | |
pci | 2 months ago | |
pci-bridge | 10 months ago | |
pci-host | 2 months ago | |
ppc | 2 months ago | |
remote | 5 months ago | |
riscv | 2 months ago | |
rtc | 1 year ago | |
rx | 2 years ago | |
s390x | 3 months ago | |
scsi | 2 months ago | |
sd | 6 days ago | |
sensor | ||
sh4 | 5 months ago | |
southbridge | 5 months ago | |
sparc | 2 years ago | |
ssi | 6 days ago | |
timer | 2 months ago | |
tricore | 5 months ago | |
uefi | 6 months ago | |
usb | 7 months ago | |
vfio | 1 month ago | |
virtio | 2 months ago | |
vmapple | 6 months ago | |
watchdog | 1 year ago | |
xen | 2 months ago | |
xtensa | 5 months ago | |
boards.h | 2 weeks ago | |
clock.h | 9 months ago | |
elf_ops.h.inc | 1 year ago | |
fw-path-provider.h | ||
hotplug.h | 3 years ago | |
hw.h | 5 months ago | |
irq.h | 6 days ago | |
loader-fit.h | 7 months ago | |
loader.h | 3 months ago | |
nmi.h | ||
or-irq.h | 3 years ago | |
platform-bus.h | ||
ptimer.h | ||
qdev-clock.h | ||
qdev-core.h | 8 months ago | |
qdev-dma.h | ||
qdev-properties-system.h | 2 months ago | |
qdev-properties.h | 2 months ago | |
register.h | 5 months ago | |
registerfields.h | ||
resettable.h | 12 months ago | |
stream.h | ||
sysbus.h | 2 months ago | |
usb.h | 5 months ago | |
vmstate-if.h |