From: Jacob Gorm Hansen Subject: Re: Hypercall-page initialization Date: Tue, 7 Feb 2006 19:04:46 +0100 Message-ID: References: <919bb30a9d2ec4dfa5f8bbfbb7371219@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <919bb30a9d2ec4dfa5f8bbfbb7371219@cl.cam.ac.uk> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 2/7/06, Keir Fraser wrote: > 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). That would be fine with me, though I guess purists would argue that it would remove some flexibility, e.g. int 0x82 (or another hardcoded trap vector) would have always have to be supported. > 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. :-) Hmm would that work in paravirt mode also? I guess Xen would trap the exception and do the right thing? I suppose this has the advantage of avoiding any hardcoded trap vectors. > -- Keir Jacob