From: Alexander Gordeev Date: Fri, 16 Oct 2015 10:14:54 +0000 (+0100) Subject: hw/arm/virt: Allow zero address for PCI IO space X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=74de8c356844080fcabc3a44b08b9d22feda691f;p=osstest%2Fqemu.git hw/arm/virt: Allow zero address for PCI IO space 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 CC: Andrew Jones Signed-off-by: Alexander Gordeev Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 5ac5178b7..4e7160ce9 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 = {