From: Keir Fraser Subject: Re: Re: how to handle paged hypercall args? Date: Mon, 15 Nov 2010 10:09:37 +0000 Message-ID: References: <4CE111470200007800022344@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4CE111470200007800022344@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich , Tim Deegan Cc: Olaf Hering , "xen-devel@lists.xensource.com" , Patrick Colp List-Id: xen-devel@lists.xenproject.org On 15/11/2010 09:53, "Jan Beulich" wrote: >> Maybe Patrick can comment too, but my recollection of discussing this is >> that we would have to propagate failures caused by paging at least as >> far as the dom0 kernel, because otherwise a single-vcpu dom0 kernel >> could deadlock with its one vcpu stuck in a hypercall (or continually >> having it preempted and retried) and the paging binary that would >> unstick it never getting scheduled. > > How's Dom0 involved here? The hypercall arguments live in > guest memory. Yes, and you'd never turn on paging for dom0 itself. That would never work! Changing every user of the guest accessor macros to retry via guest space is really not tenable. We'd never get all the bugs out. -- Keir