From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMyZF-0000Zx-Qe for qemu-devel@nongnu.org; Thu, 19 May 2011 04:26:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMyZE-0005vF-UB for qemu-devel@nongnu.org; Thu, 19 May 2011 04:26:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMyZE-0005v0-Mh for qemu-devel@nongnu.org; Thu, 19 May 2011 04:26:48 -0400 Date: Thu, 19 May 2011 11:26:44 +0300 From: Gleb Natapov Message-ID: <20110519082644.GC28399@redhat.com> References: <4DD3C5B9.1080908@redhat.com> <4DD3D236.90708@siemens.com> <4DD3D95E.2060105@redhat.com> <4DD3E1B3.3020405@siemens.com> <4DD3E610.1080201@siemens.com> <4DD4199E.2000702@codemonkey.ws> <4DD41DBB.2020108@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DD41DBB.2020108@web.de> Subject: Re: [Qemu-devel] [RFC] Memory API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Peter Maydell , Avi Kivity , qemu-devel On Wed, May 18, 2011 at 09:27:55PM +0200, Jan Kiszka wrote: > > if an I/O is to the APIC page, > > it's handled by the APIC > > That's not that simple. We need to tell apart: > - if a cpu issued the request, and which one => forward to APIC And cpu mode may affect where access is forwarded to. If cpu is in SMM mode access to frame buffer may be forwarded to a memory (depends on chipset configuration). > - if the range was addressed by a device (PCI or other system bus > devices) => forward to MSI or other MMIO handlers > -- Gleb.