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 | |
---|---|---|
.. | ||
Kconfig | 10 months ago | |
bus.c | 5 months ago | |
clock-vmstate.c | ||
clock.c | 5 months ago | |
cpu-common.c | 1 week ago | |
cpu-system.c | 2 months ago | |
cpu-user.c | 6 months ago | |
eif.c | 9 months ago | |
eif.h | 10 months ago | |
fw-path-provider.c | ||
generic-loader.c | 5 months ago | |
gpio.c | 8 months ago | |
guest-loader.c | 5 months ago | |
guest-loader.h | ||
hotplug.c | ||
irq.c | 6 days ago | |
loader-fit.c | 5 months ago | |
loader.c | 2 weeks ago | |
machine-hmp-cmds.c | 2 months ago | |
machine-qmp-cmds.c | 2 months ago | |
machine-smp.c | 7 months ago | |
machine.c | 2 weeks ago | |
meson.build | 4 months ago | |
nmi.c | ||
null-machine.c | 5 months ago | |
numa.c | 9 months ago | |
or-irq.c | 5 months ago | |
platform-bus.c | 5 months ago | |
ptimer.c | 5 months ago | |
qdev-clock.c | 9 months ago | |
qdev-fw.c | ||
qdev-hotplug.c | 8 months ago | |
qdev-prop-internal.h | ||
qdev-properties-system.c | 2 months ago | |
qdev-properties.c | 2 months ago | |
qdev-user.c | 8 months ago | |
qdev.c | 5 months ago | |
register.c | 5 months ago | |
reset.c | 5 months ago | |
resetcontainer.c | 5 months ago | |
resettable.c | ||
split-irq.c | 5 months ago | |
stream.c | ||
sysbus-fdt.c | 5 months ago | |
sysbus.c | 2 months ago | |
trace-events | ||
trace.h | ||
uboot_image.h | ||
vm-change-state-handler.c | 4 months ago | |
vmstate-if.c |