Received: from eggs.gnu.org ([2001:4830:134:3::10]:55608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm0g1-0000I1-1V for qemu-devel@nongnu.org; Tue, 13 Oct 2015 10:35:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zm0fx-0003Xc-Qk for qemu-devel@nongnu.org; Tue, 13 Oct 2015 10:35:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm0fx-0003XO-La for qemu-devel@nongnu.org; Tue, 13 Oct 2015 10:35:37 -0400 Date: Tue, 13 Oct 2015 16:35:33 +0200 From: Alexander Gordeev Message-ID: <20151013143533.GA11536@agbook.brq.redhat.com> References: <1444683308-30543-1-git-send-email-agordeev@redhat.com> <20151013063057.GA32581@agordeev.usersys.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [Qemu-devel] [PATCH v2] hw/arm/virt: Allow zero address for PCI IO space List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Andrew Jones , QEMU Developers 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 --- 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