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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] Hypercall-page initialization

To: Jacob Gorm Hansen <jacobg@xxxxxxx>
Subject: Re: [Xen-devel] Hypercall-page initialization
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 7 Feb 2006 17:52:14 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2006年2月07日 17:57:17 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <e08041f30602070820r2602de2hcba5742e3104d3ba@xxxxxxxxxxxxxx>
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>
References: <e08041f30602070820r2602de2hcba5742e3104d3ba@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 7 Feb 2006, at 16:20, Jacob Gorm Hansen wrote:
I my unprivileged domain builder, I have run into the problem of how
to setup the hypercall-page. I suppose I can decode the kernel binary
header to figure out where to put the page, and then memcpy it from
loader to linux and things will work.
But wouldn't it be better if the hypercall used to populate the page
was available to the domU, so that its startup-code could call on Xen
to populate the page? I find the current approach of hardcoding the
page location in the kernel header pretty ugly.
We can make the hypercall for filling the page one that can be executed by unpriv domains (i.e., make it not a dom0_op). Or if you want to fill it in from within the domU, how about if we did something like reserve some space of MSRs for Xen use (e.g., hex Bxxxxxxx). Then we could say that, if the guest writes an MFN to a particular one of those MSRs, it gets filled with hypercall-page goodness. :-)
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] x86_64 smp kernel panic , Steven Hand
Next by Date: Re: [Xen-devel] [PATCH][2/4] PCI Driver Domains: PCI Backend/Frontend , Keir Fraser
Previous by Thread: [Xen-devel] Hypercall-page initialization , Jacob Gorm Hansen
Next by Thread: Re: [Xen-devel] Hypercall-page initialization , Jacob Gorm Hansen
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /