From: Alexander Gordeev <agord...@redhat.com> Currently PCI IO address 0 is not allowed even though the IO space starts from 0. This update makes PCI IO address 0 usable.
CC: Peter Maydell <peter.mayd...@linaro.org> CC: Andrew Jones <drjo...@redhat.com> Signed-off-by: Alexander Gordeev <agord...@redhat.com> Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> --- hw/arm/virt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 5ac5178..4e7160c 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -1162,6 +1162,7 @@ static void virt_class_init(ObjectClass *oc, void *data) mc->has_dynamic_sysbus = true; mc->block_default_type = IF_VIRTIO; mc->no_cdrom = 1; + mc->pci_allow_0_address = true; } static const TypeInfo machvirt_info = { -- 1.9.1