All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linda <lindaj@jma3.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: julien.grall@citrix.com, xen-devel@lists.xenproject.org,
	lars.kurth.xen@gmail.com
Subject: Re: grant tables and driver handshaking
Date: Thu, 11 Jun 2015 06:32:08 -0600	[thread overview]
Message-ID: <55797FC8.8050806@jma3.com> (raw)
In-Reply-To: <20150611104349.GI14606@zion.uk.xensource.com>

On 6/11/2015 4:43 AM, Wei Liu wrote:
> On Wed, Jun 10, 2015 at 07:45:15PM -0600, Linda wrote:
>> Hello all,
>>      I will be writing a xen front and back-end pair for a 9p transport.  I
>> have two areas where I'm still a little more muddled than I'd like to be.
>>      Can anyone please recommend a good article on either grant tables or the
>> handshaking between the front and back-end drivers, or both?
> The handshake protocol needs to be designed by you. Generally speaking
> you need to at least advertise the event channel and grant table
> references. You also need to advertise other information that you
> identify as part of the handshake process.
OK.  That explains half of my muddle.

Here's the other half.  The wiki article on xenbus taks about the 
front-end registering with xenbus, before anything else happens. But in 
blkback, it looks like it too has to do some kind of setup with xenbus, 
too.

Since the backend is in DOM0, and is around longer than the DOMUs, this 
happens first.   It's that interaction that I'd like a little more text 
on.  If it exists.
>
> There is a wiki page on grant table
>
> http://wiki.xenproject.org/wiki/Grant_Table
Thanks.
>
> Wei.
>
>>      I have looked at the code, but could use more verbiage.
>> Thanks.
>>
>> Linda

  reply	other threads:[~2015-06-11 12:32 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-15 17:02 [PATCH v7] libxl: provide libxl_bitmap_{or,and} Linda Jacobson
2015-04-16 14:34 ` Ian Campbell
2015-04-16 14:40   ` Linda
2015-04-16 14:45     ` Wei Liu
2015-04-16 16:49       ` Linda
2015-04-22 14:21         ` Ian Campbell
2015-06-03 15:24 ` clarification of xen Wiki article Linda
2015-06-04  9:58   ` Ian Campbell
2015-06-04 10:35     ` Wei Liu
2015-06-04 11:31       ` Wei Liu
2015-06-04 11:35         ` Ian Campbell
2015-06-04 11:46           ` Wei Liu
2015-06-04 11:15     ` Linda
2015-06-11  1:45   ` grant tables and driver handshaking Linda
2015-06-11 10:43     ` Wei Liu
2015-06-11 12:32       ` Linda [this message]
2015-06-11 16:24         ` Wei Liu
2015-06-11 16:38           ` Ian Campbell
2015-06-11 17:11             ` Linda

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=55797FC8.8050806@jma3.com \
    --to=lindaj@jma3.com \
    --cc=julien.grall@citrix.com \
    --cc=lars.kurth.xen@gmail.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /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.