From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: Keir Fraser <keir.xen@gmail.com>
Cc: Ian, Jeremy Fitzhardinge <jeremy@goop.org>,
"Xen-devel@lists.xensource.com" <Xen-devel@lists.xensource.com>,
Campbell <Ian.Campbell@citrix.com>
Subject: Re: HYBRID: gnttab_map() to map shared frames..
Date: Mon, 17 Oct 2011 19:18:10 -0700 [thread overview]
Message-ID: <20111017191810.28876947@mantra.us.oracle.com> (raw)
In-Reply-To: <CABDA859.22DA3%keir.xen@gmail.com>
Hi Jeremy,
You have any thoughts on this? This is basically for hybrid running
autotranslate paging mode. I am trying to figure how to get unmapped
pfns to map shared grant table page/s from xen. HVM does this via
pci_resource_start() and gets io remapped address. However, in case of
pure PV, I am not sure how feasible this approach would be.
Is there way I can reserve few pfn's above max_pfn and use those
for my XENMAPSPACE_grant_table call?
thanks,
Mukesh
On Fri, 14 Oct 2011 08:50:33 +0100
Keir Fraser <keir.xen@gmail.com> wrote:
> If you are running without autotranslate paging mode then the p2m
> will be 1:1 and there is no problem. If you are running autotranslate
> then yes you probably need the HVM style of mapping.
>
> -- Keir
>
> On 14/10/2011 02:18, "Mukesh Rathor" <mukesh.rathor@oracle.com> wrote:
>
> > Hi,
> >
> > I am trying to figure how to make gnttab_map() work for Hybrid with
> > EPT. The only way I am coming up is the HVM way, where I would have
> > to get mmio_addr via pci_resource_start() which means registering
> > xen-platform-pci driver. I know there will be implications later
> > with migration, but thats later.
> >
> > I can't think of any other way since the grant frames are coming
> > from xen heap and not in p2m table, other than some sort of
> > xen-heap-p2m-table or something ugly.
> >
> > Am I on right track, or any other ideas?
> >
> > thanks,
> > Mukesh
> >
>
next prev parent reply other threads:[~2011-10-18 2:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-14 1:18 HYBRID: gnttab_map() to map shared frames Mukesh Rathor
2011-10-14 7:50 ` Keir Fraser
2011-10-14 13:17 ` Ian Campbell
2011-10-18 2:18 ` Mukesh Rathor [this message]
2011-10-18 8:13 ` Ian Campbell
2011-10-18 19:17 ` Mukesh Rathor
2011-10-19 8:39 ` Ian Campbell
2011-10-20 2:29 ` Mukesh Rathor
2011-10-20 10:39 ` Tim Deegan
2011-10-20 23:13 ` Mukesh Rathor
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=20111017191810.28876947@mantra.us.oracle.com \
--to=mukesh.rathor@oracle.com \
--cc=Ian.Campbell@citrix.com \
--cc=Xen-devel@lists.xensource.com \
--cc=jeremy@goop.org \
--cc=keir.xen@gmail.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.