All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: Carlo Bertoldi <mcbain@tiscali.it>
Cc: xen-devel@lists.xensource.com
Subject: Re: Grant tables
Date: Fri, 4 Apr 2008 23:42:40 +0200	[thread overview]
Message-ID: <20080404214240.GE4014@implementation> (raw)
In-Reply-To: <47F65DA6.3000007@tiscali.it>

Carlo Bertoldi, le Fri 04 Apr 2008 18:56:06 +0200, a écrit :
> Samuel Thibault wrote, on the 04/04/2008 17.31:
> 
> Thanks, for the prompt answer.
> > See tools/fs-back/fs-ops.c for instance (xc_gnttab* functions).
> >
> Ok, so I found this:
> 
> buf = xc_gnttab_map_grant_ref(mount->gnth,
>                                    mount->dom_id,
>                                    req->u.fwrite.gref,
>                                    PROT_READ);
> 
> it's fine, except that I don't understand how to obtain the gref. IOW 
> how can I build a grant reference from a domain?

To my knowledge, there is no user interface for that yet, you need to do
it from the Linux kernel.

Samuel

  reply	other threads:[~2008-04-04 21:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-04 15:26 Grant tables Carlo Bertoldi
2008-04-04 15:31 ` Samuel Thibault
2008-04-04 16:56   ` Carlo Bertoldi
2008-04-04 21:42     ` Samuel Thibault [this message]
2008-04-05  8:10       ` Carlo Bertoldi
2008-04-05 21:14         ` Mark Williamson
2008-04-07 16:07           ` Carlo Bertoldi
2008-04-07 16:18             ` Daniel Stodden
     [not found]       ` <47F7339B.90207@tiscali.it>
2008-04-05  8:55         ` Samuel Thibault
  -- strict thread matches above, loose matches on Subject: below --
2007-06-26 11:29 Grant Tables Koripella Srinivas

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=20080404214240.GE4014@implementation \
    --to=samuel.thibault@eu.citrix.com \
    --cc=mcbain@tiscali.it \
    --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.