xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Tim Deegan <tim@xen.org>
To: "Aravindh Puthiyaparambil (aravindp)" <aravindp@cisco.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Cutter 409 <cutter409@gmail.com>
Subject: Re: Implementing mem-access for PV guests
Date: Thu, 25 Apr 2013 10:55:24 +0100	[thread overview]
Message-ID: <20130425095524.GA37678@ocelot.phlegethon.org> (raw)
In-Reply-To: <97A500D504438F4ABC02EBA81613CC6322C9AF1D@xmb-aln-x02.cisco.com>

At 01:02 +0000 on 25 Apr (1366851740), Aravindh Puthiyaparambil (aravindp) wrote:
> > > I'm finally to a point where I can start looking at this more closely.
> > > I'm trying to wrap my head around the shadow code to figure out the
> > > right course of action.
> > >
> > > I'd want HVMOP_set_mem_access to work with both shadow and EPT, so
> 
> Getting this to work with shadow would allow non-NPT HVM guests to
> have mem_access support or will this also extend to PV guests?

It could extend to PV guests as long as you're willing to run them on
shadow pagetables (i.e. with a significant performance hit).

> I am interested in getting this to work for PV guests so I was
> wondering how much extra work that would be. I can definitely help out
> with this effort.

I think you'd have to take a good look at the hypercall interface -- PV
guests have more ways of causing the hypervisor to read and write memory
for them (e.g. the MMU ops) which wouldn't be intercepted by shadow PTs.
It certainly ought to be possible, though.

Tim.

  reply	other threads:[~2013-04-25  9:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-25  1:02 Implementing mem-access for PV guests Aravindh Puthiyaparambil (aravindp)
2013-04-25  9:55 ` Tim Deegan [this message]
2013-04-25 17:57   ` Aravindh Puthiyaparambil (aravindp)
2013-05-15 19:44   ` Aravindh Puthiyaparambil (aravindp)
2013-05-16  9:58     ` Tim Deegan
     [not found] <mailman.30089.1366884106.1399.xen-devel@lists.xen.org>
2013-04-25 14:48 ` Andres Lagar-Cavilla
2013-04-25 15:40   ` Tim Deegan
2013-04-25 16:31     ` Andres Lagar-Cavilla
2013-04-25 16:37       ` Tim Deegan

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=20130425095524.GA37678@ocelot.phlegethon.org \
    --to=tim@xen.org \
    --cc=aravindp@cisco.com \
    --cc=cutter409@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).