From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zlym3-0004Xa-UD for qemu-devel@nongnu.org; Tue, 13 Oct 2015 08:33:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zlym1-00036z-7J for qemu-devel@nongnu.org; Tue, 13 Oct 2015 08:33:47 -0400 Received: from mail-vk0-f42.google.com ([209.85.213.42]:36827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zlym1-00036Q-4A for qemu-devel@nongnu.org; Tue, 13 Oct 2015 08:33:45 -0400 Received: by vkex70 with SMTP id x70so1964050vke.3 for ; Tue, 13 Oct 2015 05:33:44 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20151013124837.GA27387@agordeev.usersys.redhat.com> References: <1444683308-30543-1-git-send-email-agordeev@redhat.com> <20151013063057.GA32581@agordeev.usersys.redhat.com> <20151013124837.GA27387@agordeev.usersys.redhat.com> From: Peter Maydell Date: Tue, 13 Oct 2015 13:33:25 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [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: Alexander Gordeev Cc: Laurent Vivier , Andrew Jones , QEMU Developers On 13 October 2015 at 13:48, Alexander Gordeev wrote: > On Tue, Oct 13, 2015 at 09:16:34AM +0100, Peter Maydell wrote: >> In any case, setting pci_allow_0_address is the right thing, >> so we can just change the commit message in this patch. > > I will post v2 with an updated changelog then. > >> Incidentally, why is this a property on the machine >> and not on the PCI controller device? > > I am CC-ing Laurent Vivier who introduced the flag. > > But IMO it *is* a machine property, not PCI controller's > one, unless I am missing something. I think "does this PCI controller handle BARs with zero addresses, or does it treat them as if the BAR was unmapped" is definitely a controller property... you might have in theory a machine with two PCI controllers, one of which could deal with zero-addresses and one of which could not. thanks -- PMM