hw/arm/virt: Write extra pci roots into fw_cfg
commit09fad16744480938543c0e39cfbaecbbd162c39b
authorJiahui Cen <cenjiahui@huawei.com>
Thu, 19 Nov 2020 01:48:35 +0000 (19 09:48 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 8 Dec 2020 18:48:57 +0000 (8 13:48 -0500)
treec9f888e2ec957d54da6ad0c8b48e0b5aacdb1ee4
parent0abd38885ac0fcdb08653922f339849cad387961
hw/arm/virt: Write extra pci roots into fw_cfg

Add bus property to virt machine for primary PCI root bus and use it to add
extra pci roots behind it.

Signed-off-by: Jiahui Cen <cenjiahui@huawei.com>
Signed-off-by: Yubo Miao <miaoyubo@huawei.com>
Message-Id: <20201119014841.7298-4-cenjiahui@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/arm/virt.c
include/hw/arm/virt.h