Re: [PATCH] hw/char/pci-multi: Convert legacy qemu_allocate_irqs to qemu_init_irq

2025-01-30 Thread Philippe Mathieu-Daudé
On 21/1/25 19:28, Philippe Mathieu-Daudé wrote: There are a fixed number of PCI IRQs, known beforehand. Allocate them within PCIMultiSerialState, and initialize using qemu_init_irq(), allowing to remove the legacy qemu_allocate_irqs() and qemu_free_irqs() calls. Signed-off-by: Philippe Mathieu-D

Re: [PATCH] hw/char/pci-multi: Convert legacy qemu_allocate_irqs to qemu_init_irq

2025-01-21 Thread Richard Henderson
On 1/21/25 10:28, Philippe Mathieu-Daudé wrote: There are a fixed number of PCI IRQs, known beforehand. Allocate them within PCIMultiSerialState, and initialize using qemu_init_irq(), allowing to remove the legacy qemu_allocate_irqs() and qemu_free_irqs() calls. Signed-off-by: Philippe Mathieu-D

[PATCH] hw/char/pci-multi: Convert legacy qemu_allocate_irqs to qemu_init_irq

2025-01-21 Thread Philippe Mathieu-Daudé
There are a fixed number of PCI IRQs, known beforehand. Allocate them within PCIMultiSerialState, and initialize using qemu_init_irq(), allowing to remove the legacy qemu_allocate_irqs() and qemu_free_irqs() calls. Signed-off-by: Philippe Mathieu-Daudé --- Based-on: <20250121155526.29982-2-phi...