On 9/1/23 18:23, Bernhard Beschow wrote:
Having an i8259 proxy allows for ISA PICs to be created and wired up in
southbridges. This is especially interesting for PIIX3 for two reasons:
First, the southbridge doesn't need to care about the virtualization
technology used (KVM, TCG, Xen) due to in-IRQs (where devices get
attached) and out-IRQs (which will trigger the IRQs of the respective
virtualization technology) are separated. Second, since the in-IRQs are
populated with fully initialized qemu_irq's, they can already be wired
up inside PIIX3.
Cc: Mark Cave-Ayland <[email protected]>
Signed-off-by: Bernhard Beschow <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Mark Cave-Ayland <[email protected]>
---
include/hw/intc/i8259.h | 18 ++++++++++++++++++
hw/intc/i8259.c | 27 +++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>