From: Keir Fraser Subject: Re: Re: [Qemu-devel] Recursion in cpu_physical_memory_rw Date: Thu, 16 Nov 2006 07:52:45 +0000 Message-ID: References: <20061116051158.GA4425@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20061116051158.GA4425@gondor.apana.org.au> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Herbert Xu , Anthony Liguori Cc: Xen Development Mailing List , qemu-devel@nongnu.org List-Id: xen-devel@lists.xenproject.org On 16/11/06 5:11 am, "Herbert Xu" 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