From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QN7bp-0007Hv-Kh for qemu-devel@nongnu.org; Thu, 19 May 2011 14:06:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QN7bo-0007bv-Q5 for qemu-devel@nongnu.org; Thu, 19 May 2011 14:06:05 -0400 Received: from mail-yw0-f45.google.com ([209.85.213.45]:39536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QN7bo-0007bn-MB for qemu-devel@nongnu.org; Thu, 19 May 2011 14:06:04 -0400 Received: by ywl41 with SMTP id 41so1180610ywl.4 for ; Thu, 19 May 2011 11:06:04 -0700 (PDT) Message-ID: <4DD55C0A.3020305@codemonkey.ws> Date: Thu, 19 May 2011 13:06:02 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <4DD3C5B9.1080908@redhat.com> <4DD3D236.90708@siemens.com> <4DD3D95E.2060105@redhat.com> <4DD3E1B3.3020405@siemens.com> <4DD3E47F.9060104@redhat.com> <4DD3E782.8090208@siemens.com> <4DD3E8D6.6090807@redhat.com> <20110519090851.GD28399@redhat.com> <4DD4DE8E.8030402@redhat.com> <4DD51EAC.4080505@codemonkey.ws> <4DD51F67.2070103@siemens.com> <4DD5202B.8070202@codemonkey.ws> <4DD52155.6060808@redhat.com> In-Reply-To: <4DD52155.6060808@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] Memory API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Jan Kiszka , qemu-devel , Gleb Natapov On 05/19/2011 08:55 AM, Avi Kivity wrote: > On 05/19/2011 04:50 PM, Anthony Liguori wrote: >> >> But the i440fx doesn't register the VGA region. The PIIX3 (ISA bus) >> does, so how does it know what the priority of that mapping is? >> > > The PCI bridge also has a say, no? For legacy VGA memory? That's a good question. I've always assumed that legacy VGA memory is handled directly in the chipset by redirecting writes to the first VGA adapter it encounters (which usually happens to be the builtin one these days). I'm not sure it's possible to have a VGA device behind a bridge that also handles legacy VGA memory because the bridge pretty clearly can only have BARs within a certain region of memory (based on the bridge's config space). Regards, Anthony Liguori > > (and it would be a VGA region over memory, not the other way around). >