All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tim Deegan <tim@xen.org>
To: Jean Guyader <jean.guyader@gmail.com>
Cc: Jean Guyader <jean.guyader@citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [PATCH 5/5] xen: Add V4V implementation
Date: Thu, 16 Aug 2012 13:32:13 +0100	[thread overview]
Message-ID: <20120816123213.GD20601@ocelot.phlegethon.org> (raw)
In-Reply-To: <CAEBdQ93L5WW+b=C+YkZiZccv+5zUwr573sibjLHLSk2qZmxxYg@mail.gmail.com>

At 13:43 +0100 on 13 Aug (1344865403), Jean Guyader wrote:
> Protocol isn't part of the namespace - I think that's
> where the confusion arises. The namespace is exclusively
> Port/Domain. Protocol is there to describe the content of
> _a particular message_ in the ring.

OK.  

In that case, I think the hypervisor shouldn't handle it at all.  That
can be done in the client drivers, and the V4V_PROTO definitions and
maybe packet format stuff can go in documentation.

> It is included in the hypercalls (rather than, say, being the first n
> bytes of all messages) to force all senders to use it.

I don't think that's very useful.  It just forces any V4V user who
doesn't need multiple protocols to make up a number for form's sake, and
since Xen doesn't do any checking on the field, it doesn't protect the
receiver from anything.

I guess what I'm saying is, either 'protocol' (or whatever name you give
it) is part of the v4v addressing, in which case it should be treated
properly and demuxed before port, or it's not, in which case it
needn't be in the interface at all.

Cheers,

Tim.

  reply	other threads:[~2012-08-16 12:32 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-03 19:50 [PATCH 0/5] RFC: V4V (v3) Jean Guyader
2012-08-03 19:50 ` [PATCH 1/5] xen: add ssize_t Jean Guyader
2012-08-06  8:08   ` Jan Beulich
2012-08-06 14:47     ` Jean Guyader
2012-08-09  9:51       ` Tim Deegan
2012-08-09 10:19         ` Jean Guyader
2012-08-09 10:39           ` Jan Beulich
2012-08-09 10:48             ` Jean Guyader
2012-08-09 13:02               ` Jan Beulich
2012-08-09 10:59           ` Tim Deegan
2012-08-09 11:08             ` Jean Guyader
2012-08-03 19:50 ` [PATCH 2/5] xen: Introduce guest_handle_for_field Jean Guyader
2012-08-03 19:50 ` [PATCH 3/5] xen: virq, remove VIRQ_XC_RESERVED Jean Guyader
2012-08-06  8:10   ` Jan Beulich
2012-08-06 14:46     ` Jean Guyader
2012-08-06 14:49       ` Andrew Cooper
2012-08-06 14:56       ` Ian Campbell
2012-08-06 15:01         ` Jean Guyader
2012-08-06 15:13           ` Ian Campbell
2012-08-06 15:46             ` Jan Beulich
2012-08-03 19:50 ` [PATCH 4/5] xen: events, exposes evtchn_alloc_unbound_domain Jean Guyader
2012-08-06  8:19   ` Jan Beulich
2012-08-09 10:06   ` Tim Deegan
2012-08-09 10:23     ` Ian Campbell
2012-08-09 10:35       ` Tim Deegan
2012-08-09 10:40         ` Jean Guyader
2012-08-09 23:25           ` Jean Guyader
2012-08-10  7:35             ` Jan Beulich
2012-08-10  7:51               ` Jean Guyader
2012-08-10  7:57                 ` Jan Beulich
2012-08-23 12:03                   ` Jean Guyader
2012-08-03 19:50 ` [PATCH 5/5] xen: Add V4V implementation Jean Guyader
2012-08-06  8:45   ` Jan Beulich
2012-08-23 11:57     ` Jean Guyader
2012-08-24 20:06       ` Jan Beulich
2012-09-01 20:58         ` Jean Guyader
2012-09-01 20:56     ` Jean Guyader
2013-06-11 17:10       ` [PATCH 5/5] xen: Add V4V implementation - padding question Ross Philipson
2013-06-11 17:25         ` Tim Deegan
2013-06-11 17:40           ` Ross Philipson
2013-06-11 17:54             ` Ross Philipson
2013-06-11 18:04               ` Tim Deegan
2013-06-12  7:45                 ` Jan Beulich
2013-06-13 17:21                 ` Stefano Stabellini
2012-08-09 10:38   ` [PATCH 5/5] xen: Add V4V implementation Tim Deegan
2012-08-10 16:51     ` Jean Guyader
2012-08-13  9:38       ` Tim Deegan
2012-08-13 12:43         ` Jean Guyader
2012-08-16 12:32           ` Tim Deegan [this message]
2012-08-04 13:24 ` [PATCH 0/5] RFC: V4V (v3) Jean Guyader
  -- strict thread matches above, loose matches on Subject: below --
2012-05-31 15:07 [RFC][PATCH 0/5] Add V4V to Xen Jean Guyader
2012-05-31 15:07 ` [PATCH 5/5] xen: Add V4V implementation Jean Guyader
2012-05-31 15:59   ` Jan Beulich
2012-05-31 14:52 [RFC][PATCH 0/5] Add V4V to Xen Jean Guyader
2012-05-31 14:52 ` [PATCH 5/5] xen: Add V4V implementation Jean Guyader

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=20120816123213.GD20601@ocelot.phlegethon.org \
    --to=tim@xen.org \
    --cc=jean.guyader@citrix.com \
    --cc=jean.guyader@gmail.com \
    --cc=xen-devel@lists.xen.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.