hw/isa/piix: Reuse PIIX3 base class' realize method in PIIX4
authorBernhard Beschow <shentey@gmail.com>
Sat, 7 Oct 2023 12:38:32 +0000 (14:38 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 22 Oct 2023 09:18:17 +0000 (05:18 -0400)
commit2922dbc28c74a4b3976cb4bc020980030ccfef67
treea2ef02483cd1c9992c63a0bc8e8384105cc94c41
parent7d6f26594bc1ea1f9e7d115051e63c3a71cf0b60
hw/isa/piix: Reuse PIIX3 base class' realize method in PIIX4

Resolves duplicate code. Also makes PIIX4 respect the PIIX3 properties which get
added, too. This allows for using PIIX4 in the PC machine.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20231007123843.127151-25-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/isa/piix.c
hw/mips/malta.c