OSDN Git Service

hw/isa/piix3: Wire up Xen PCI IRQ handling outside of PIIX3
authorBernhard Beschow <shentey@gmail.com>
Mon, 3 Apr 2023 07:41:21 +0000 (09:41 +0200)
committerAnthony PERARD <anthony.perard@citrix.com>
Wed, 7 Jun 2023 14:07:10 +0000 (15:07 +0100)
commit60a9eb57f337ee36cb9140154a83edb2c41f00c6
treec0db0ff9d4edab8068a0e8e2d9f3cee2904ed995
parenta58a31a6a18ab650c6b676eccf98b6f68ac672d0
hw/isa/piix3: Wire up Xen PCI IRQ handling outside of PIIX3

xen_intx_set_irq() doesn't depend on PIIX3State. In order to resolve
TYPE_PIIX3_XEN_DEVICE and in order to make Xen agnostic about the
precise south bridge being used, set up Xen's PCI IRQ handling of PIIX3
in the board.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Tested-by: Chuck Zmudzinski <brchuckz@aol.com>
Message-Id: <20230312120221.99183-4-shentey@gmail.com>
Message-Id: <20230403074124.3925-5-shentey@gmail.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
hw/i386/pc_piix.c
hw/isa/piix3.c