hw/isa/piix3: QOM'ify PCI device creation and wiring
commitfe3055d2929f52c20b37385e2dd039675191bf17
authorBernhard Beschow <shentey@gmail.com>
Fri, 3 Jun 2022 18:50:43 +0000 (3 20:50 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 11 Jun 2022 09:44:50 +0000 (11 11:44 +0200)
tree7f1a223a000b3a9bdff10d913e59f7e351c77331
parent5bf26b9393cc223dedd51cbe045aebc7afaf34ff
hw/isa/piix3: QOM'ify PCI device creation and wiring

PCI interrupt wiring was performed in create() functions which are
obsolete. Move these tasks into QOM functions to modernize the code.

In order to avoid duplicate checking for xen_enabled() the realize
methods are now split.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20220603185045.143789-10-shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/isa/piix3.c