From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48430) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdlYh-0003pd-Pp for qemu-devel@nongnu.org; Sun, 10 Jun 2012 13:04:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SdlYZ-0003Ex-DK for qemu-devel@nongnu.org; Sun, 10 Jun 2012 13:04:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:2574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdlYZ-0003Em-5S for qemu-devel@nongnu.org; Sun, 10 Jun 2012 13:04:03 -0400 Date: Sun, 10 Jun 2012 20:04:26 +0300 From: "Michael S. Tsirkin" Message-ID: <20120610170426.GD9879@redhat.com> References: <20120610095507.GD6250@redhat.com> <4FD47217.7020909@web.de> <20120610104120.GF6250@redhat.com> <4FD47BA7.7030606@web.de> <1339337968.26976.212.camel@ul30vt> <20120610144301.GC8922@redhat.com> <1339341906.26976.254.camel@ul30vt> <20120610155551.GB9516@redhat.com> <4FD4CBC3.7040300@web.de> <20120610165007.GC9879@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120610165007.GC9879@redhat.com> Subject: Re: [Qemu-devel] [PATCH 05/13] pci: Add pci_device_route_intx_to_irq List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Alexey Kardashevskiy , Alex Williamson , qemu-devel On Sun, Jun 10, 2012 at 07:50:07PM +0300, Michael S. Tsirkin wrote: > On Sun, Jun 10, 2012 at 06:30:59PM +0200, Jan Kiszka wrote: > > Caching the host bridge generically means changing all chipsets and, > > well, also testing that they still work afterward. As explained before, > > I'd really like to avoid doing this in a single step. > > Surely it is not hard to find a way to switch chipsets gradually. Just to stress: the problem is that with this patch there are 2 ways to get routing even for piix. So instead of your patch which caches just intx route but always, and which I applied, you could have one that only caches if the root supplies a new route callback. Then to set irq, you check cache and if not valid, fallback on the legacy interface. With time we convert everyone and drop the legacy interface. > -- > MST