WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [Qemu-devel] Recursion in cpu_physical_memory_rw

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [Qemu-devel] Recursion in cpu_physical_memory_rw
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 15 Nov 2006 11:25:20 +0000
Cc: Xen Development Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>, Paul Brook <paul@xxxxxxxxxxxxxxxx>, qemu-devel@xxxxxxxxxx
Delivery-date: Wed, 15 Nov 2006 03:25:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061115111226.GA26208@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AccIqLuz+ltcD3SbEdu6WgAX8io7RQ==
Thread-topic: [Xen-devel] Re: [Qemu-devel] Recursion in cpu_physical_memory_rw
User-agent: Microsoft-Entourage/11.2.5.060620
On 15/11/06 11:12, "Herbert Xu" <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

>> Could we add a recursion counter to the memory-access functions, and bail if
>> it reaches some limit?
> 
> Yes that would work too.  However, chips such as rtl8139 should never
> do MMIO in this case (the real hardware would never allow that to occur)
> so we should do that accordingly.

We'd take a patch for Xen to do it the 'proper way' with an extended
memory-access API if that is also acceptable for the upstream Qemu
maintainers.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel