From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:36861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5zPV-0007MS-CD for qemu-devel@nongnu.org; Tue, 20 Sep 2011 08:26:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R5zPS-0007aH-9X for qemu-devel@nongnu.org; Tue, 20 Sep 2011 08:26:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5zPR-0007aC-Ts for qemu-devel@nongnu.org; Tue, 20 Sep 2011 08:26:46 -0400 Message-ID: <4E788681.8070601@redhat.com> Date: Tue, 20 Sep 2011 15:26:41 +0300 From: Avi Kivity MIME-Version: 1.0 References: <20110904181313.GA14020@redhat.com> <4E7007D6.8030102@cn.fujitsu.com> <4E784A33.7040302@cn.fujitsu.com> <4E787C9A.6050505@redhat.com> <20110920122249.GB18393@redhat.com> In-Reply-To: <20110920122249.GB18393@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] pci: implement bridge filtering List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Kevin Wolf , Isaku Yamahata , qemu-devel@nongnu.org On 09/20/2011 03:22 PM, Michael S. Tsirkin wrote: > > > > Yes. Instead of hitting the BAR, you hit the default mmio handler. > > Hmm, not sure what's right in that case. > But, same if BAR is disabled? Would be nice to make > some handler in bridge to get called, to set > master abort flag etc. Put an mmio region spanning the entire pci address range as a child of the pci address space. Make sure it has lower priority than any of the BARs (or vga areas). -- error compiling committee.c: too many arguments to function