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>, Anthony Liguori <aliguori@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [Qemu-devel] Recursion in cpu_physical_memory_rw
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 16 Nov 2006 07:52:45 +0000
Cc: Xen Development Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>, qemu-devel@xxxxxxxxxx
Delivery-date: Wed, 15 Nov 2006 23:53:16 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061116051158.GA4425@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: AccJVDOLcdUEL3VHEduESQANk04WTA==
Thread-topic: [Xen-devel] Re: [Qemu-devel] Recursion in cpu_physical_memory_rw
User-agent: Microsoft-Entourage/11.2.5.060620
On 16/11/06 5:11 am, "Herbert Xu" <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

>> The only "harm" done to a host is that the process will take as much CPU
>> as it can get.  This is really only a problem in Xen because the device
>> model is in Domain-0.  Once the device model is in a different domain,
>> it doesn't matter anymore as the normal scheduler parameters can be used
>> to ensure that no other hosts are harmed.
> 
> Actually it'll still be a problem in a driver domain unless it (and the
> hardware) is dedicated to a single guest.

Each qemu 'stub domain' will be dedicated to a single guest. Adding a
recursion counter to the memory access functions sounds possibly useful even
just from a debugging p.o.v. though.

 -- Keir



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