All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: Ian Pratt <m+Ian.Pratt@cl.cam.ac.uk>,
	xen-devel <xen-devel@lists.xensource.com>
Subject: Re: [RFC] VMI for Xen?
Date: Fri, 17 Mar 2006 08:39:11 -0600	[thread overview]
Message-ID: <441ACA0F.6080806@us.ibm.com> (raw)
In-Reply-To: <f5223af6b2ced67e70d3ae5254a784b5@cl.cam.ac.uk>

Keir Fraser wrote:
>
> On 16 Mar 2006, at 23:33, Anthony Liguori wrote:
>
>> Actually, the new spec does support non-shadow paging.  All page 
>> table updates are done via the VMI ROM.  Normally, these are just 
>> normal get/set operations but they could be get/sets with p2m looks.  
>> The first version of the spec definitely didn't support non-shadow 
>> paging though.
>
> I don't see any hooks for pte reads, which need m2p conversion in a 
> non-shadow environment.
VMI_CALL_GetPxE is the hook for pte reads I think.  The documentation 
refers to a SetPte function but that doesn't actually exist in the 
code.  Instead, I believe the pte access functions are GetPxE and SetPxE 
and that they can be used for setting ptes or pmds.  It's not really 
documented though so I may be wrong.
> And the documentation is out of whack with the code patches now I look 
> more closely at the mmu patch. VMI_xxxPxExxx functions are not defined 
> in the spec, nor is VMI_AllocatePage.
Yeah, the documentation is lacking (and wrong) in a couple of key areas.

Regards,

Anthony Liguori
>  -- Keir
>

  reply	other threads:[~2006-03-17 14:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-16 23:11 [RFC] VMI for Xen? Ian Pratt
2006-03-16 23:24 ` Anthony Liguori
2006-03-16 23:33 ` Anthony Liguori
2006-03-17 10:42   ` Keir Fraser
2006-03-17 14:39     ` Anthony Liguori [this message]
2006-03-17 18:19     ` [Xen-devel] " Zachary Amsden
2006-03-17 18:19       ` Zachary Amsden
2006-03-16 23:55 ` Chris Wright
2006-03-17  0:10   ` Anthony Liguori
2006-03-17  8:53     ` Keir Fraser
2006-03-17  8:59       ` Keir Fraser
     [not found] <4419F36A.6070906@vmware.com>
2006-03-17  0:09 ` Daniel Arai
  -- strict thread matches above, loose matches on Subject: below --
2006-03-14 22:01 Anthony Liguori
2006-03-16 20:08 ` Anthony Liguori
2006-03-19 15:51   ` Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=441ACA0F.6080806@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=m+Ian.Pratt@cl.cam.ac.uk \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.