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

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

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