aboutsummaryrefslogtreecommitdiff
path: root/version.rc
diff options
context:
space:
mode:
authorBernhard Beschow <shentey@gmail.com>2023-06-30 09:37:20 +0200
committerMichael S. Tsirkin <mst@redhat.com>2023-07-10 16:29:17 -0400
commitc589f7cf0860534dfd21023dec2ec322688a5a03 (patch)
treea4d3a3e89cf0617fb5baa82c7d0fa5d53c6bb67c /version.rc
parentce5ac09a7548d90ac414f60bbe87c69a8487de10 (diff)
downloadqemu-c589f7cf0860534dfd21023dec2ec322688a5a03.zip
qemu-c589f7cf0860534dfd21023dec2ec322688a5a03.tar.gz
qemu-c589f7cf0860534dfd21023dec2ec322688a5a03.tar.bz2
hw/i386/pc_piix: Move i440fx' realize near its qdev_new()
I440FX realization is currently mixed with PIIX3 creation. Furthermore, it is common practice to only set properties between a device's qdev_new() and qdev_realize(). Clean up to resolve both issues. Since I440FX spawns a PCI bus let's also move the pci_bus initialization there. Note that when running `qemu-system-x86_64 -M pc -S` before and after this patch, `info mtree` in the QEMU console doesn't show any differences except that the ordering is different. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230630073720.21297-18-shentey@gmail.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'version.rc')
0 files changed, 0 insertions, 0 deletions