[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Re: how to handle paged hypercall args?


  • To: Jan Beulich <JBeulich@xxxxxxxxxx>, Tim Deegan <Tim.Deegan@xxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxx>
  • Date: Mon, 15 Nov 2010 10:09:37 +0000
  • Cc: Olaf Hering <olaf@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Patrick Colp <pjcolp@xxxxxxxxx>
  • Delivery-date: Mon, 15 Nov 2010 02:10:41 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=sBDEGdfRqf5t7D7o5eHlhwXl3JtcfbrQx1aCHZ1igGTWNMU+0wuZYAIEE4Kx4jyJcD j0acjwf+UjoTbTnzXqBdokk547jRwysvWW3qPV8qGYvG+cCjWDqafqaLqyoCRDlY7Iwb ua7tVULAaNUOOE7+CnDNti1dtTWpXNXOUvw0I=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcuErTVhlex0deV9p06ujpSFBCDmLQ==
  • Thread-topic: [Xen-devel] Re: how to handle paged hypercall args?

On 15/11/2010 09:53, "Jan Beulich" <JBeulich@xxxxxxxxxx> 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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.