From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=56879 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWYvk-0003j6-4D for qemu-devel@nongnu.org; Wed, 07 Jul 2010 14:01:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWYvR-00012z-C8 for qemu-devel@nongnu.org; Wed, 07 Jul 2010 14:00:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1025) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWYvR-00012q-25 for qemu-devel@nongnu.org; Wed, 07 Jul 2010 14:00:49 -0400 Date: Wed, 7 Jul 2010 20:55:34 +0300 From: "Michael S. Tsirkin" Message-ID: <20100707175534.GC14508@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [Qemu-devel] Re: [PATCH, RFC] pci: handle BAR mapping at pci level List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel On Wed, Jul 07, 2010 at 05:53:08PM +0000, Blue Swirl wrote: > Add I/O port registration functions which separate registration > from the mapping stage. > > Move IOIO and MMIO BAR mapping to pci.c. > > TODO: fix dirty logging, coalesced MMIO and base address comparisons > (eepro100 etc). Bridge filtering may be broken. Broke virtio-pci and MSIX. legacy vga regions too? > Signed-off-by: Blue Swirl Looks like a good direction to take. > --- > i386 boots but resets. PPC and Sparc64 can't even start. > > Patch also available at > git://repo.or.cz/qemu/blueswirl.git > > It may be worthwhile to break this into some kind of smaller steps. Definitely.