Adjust the parameters to i8259_stat_update_irq() to allow passing in pointers to the irq_count and irq_level arrays, and then move the arrays into the corresponding i8259 PIC and KVM PIC devices. Doing this allows the statistics capture logic in i8259_set_irq() that handles incoming cascading interrupts to be removed. Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-ID: <20261019120517.1448687-28-mark.caveayland@nutanix.com>