]> git.proxmox.com Git - mirror_qemu.git/commit
hw/pci-host/i440fx: Move i440fx_realize() into PCII440FXState section
authorBernhard Beschow <shentey@gmail.com>
Fri, 30 Jun 2023 07:37:14 +0000 (09:37 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 10 Jul 2023 20:29:17 +0000 (16:29 -0400)
commit44df0552a020efd6191714da44edede5ded37ec8
tree7711e885fb39540fa46f2c1ed38688dd8903fde8
parenta707466dd62712e4a76e30217a8880e6ab8c7b10
hw/pci-host/i440fx: Move i440fx_realize() into PCII440FXState section

i440fx_realize() realizes the PCI device inside the host bridge
(PCII440FXState), but is implemented between i440fx_pcihost_realize() and
i440fx_init() which deal with the host bridge itself (I440FXState). Since we
want to append i440fx_init() to i440fx_pcihost_realize() later let's move
i440fx_realize() out of the way.

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