Re: [PATCH v3 3/3] hw/ipack: Remove legacy qemu_allocate_irqs() use

2025-01-21 Thread Richard Henderson
On 1/21/25 07:55, Philippe Mathieu-Daudé wrote: No need to dynamically allocate IRQ when we know before hands how many we'll use. Declare the 2 of them in IPackDevice state and initialize them in the DeviceRealize handler. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ipack/ipack.h | 7

[PATCH v3 3/3] hw/ipack: Remove legacy qemu_allocate_irqs() use

2025-01-21 Thread Philippe Mathieu-Daudé
No need to dynamically allocate IRQ when we know before hands how many we'll use. Declare the 2 of them in IPackDevice state and initialize them in the DeviceRealize handler. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ipack/ipack.h | 7 ++- hw/char/ipoctal232.c | 4 ++-- hw/ipa