OSDN Git Service

hw/pci-host/i440fx: Resolve i440fx_init()
authorBernhard Beschow <shentey@gmail.com>
Fri, 30 Jun 2023 07:37:19 +0000 (09:37 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 10 Jul 2023 20:29:17 +0000 (16:29 -0400)
commitce5ac09a7548d90ac414f60bbe87c69a8487de10
tree78de59b0d92d039c0b476dbcc021a392890360f1
parentff0a8cc4bed6414ab09816b14e006a11140d0d73
hw/pci-host/i440fx: Resolve i440fx_init()

i440fx_init() is a legacy init function. The previous patches worked towards
TYPE_I440FX_PCI_HOST_BRIDGE to be instantiated the QOM way. Do this now by
transforming the parameters passed to i440fx_init() into property assignments.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20230630073720.21297-17-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/i386/pc_piix.c
hw/pci-host/i440fx.c
include/hw/pci-host/i440fx.h