From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zlk84-0006Tu-IE for qemu-devel@nongnu.org; Mon, 12 Oct 2015 16:55:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zlk81-0001k4-9M for qemu-devel@nongnu.org; Mon, 12 Oct 2015 16:55:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zlk81-0001jw-2M for qemu-devel@nongnu.org; Mon, 12 Oct 2015 16:55:29 -0400 From: Alexander Gordeev Date: Mon, 12 Oct 2015 22:55:08 +0200 Message-Id: <1444683308-30543-1-git-send-email-agordeev@redhat.com> Subject: [Qemu-devel] [PATCH] hw/arm/virt: Allow zero address for PCI IO space List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Andrew Jones , Alexander Gordeev Currently PCI IO address 0 is not allowed even though the IO space starts from 0. As result, PCI IO is not possible to use at all. CC: Peter Maydell CC: Andrew Jones Signed-off-by: Alexander Gordeev --- hw/arm/virt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index d25d6cf..3620489 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -1157,6 +1157,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.8.3.1