Revert "sysbus: add irq_routing_notifier"
The callback has been introduced in commit 715ca691daca ("sysbus: add irq_routing_notifier") for use in VFIO platform. Meanwhile, VFIO platform has been removed via commit 762c85543948 ("vfio: Remove 'vfio- platform'") which was its only user. Remove this unused code. This reverts commit 715ca691daca081108b33306faa6fa102f0df8d8. cc: Cédric Le Goater <clg@redhat.com> Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Message-id: 20260308203516.160103-6-shentey@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Bernhard Beschow committed
May 5, 2026 at 09:25 UTC
26c89df2ffd660766f2428817a7d5048a107bdeb
2 files changed
-7
hw/core/sysbus.c
-6
@@ -104,13 +104,7 @@ qemu_irq sysbus_get_connected_irq(const SysBusDevice *dev, int n)
104
105
void sysbus_connect_irq(SysBusDevice *dev, int n, qemu_irq irq)
106
{
107
- SysBusDeviceClass *sbd = SYS_BUS_DEVICE_GET_CLASS(dev);
108
-
107
qdev_connect_gpio_out_named(DEVICE(dev), SYSBUS_DEVICE_GPIO_IRQ, n, irq);
110
-
111
- if (sbd->connect_irq_notifier) {
112
- sbd->connect_irq_notifier(dev, irq);
113
- }
108
}
109
110
/* Check whether an MMIO region exists */
include/hw/core/sysbus.h
-1
@@ -50,7 +50,6 @@ struct SysBusDeviceClass {
50
* omitted then. (This is not considered a fatal error.)
51
*/
52
char *(*explicit_ofw_unit_address)(const SysBusDevice *dev);
53
- void (*connect_irq_notifier)(SysBusDevice *dev, qemu_irq irq);
53
};
54
55
struct SysBusDevice {