From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Keir Fraser <keir@xen.org>,
Ian Campbell <ian.campbell@citrix.com>,
rcojocaru@bitdefender.com, Tim Deegan <tim@xen.org>,
Ian Jackson <ian.jackson@eu.citrix.com>,
xen-devel@lists.xenproject.org
Subject: Re: [PATCH] version: Document guest_handle
Date: Tue, 23 Feb 2016 14:04:01 -0500 [thread overview]
Message-ID: <20160223190401.GA15838@char.us.oracle.com> (raw)
In-Reply-To: <56CB0E0502000078000D4B49@prv-mh.provo.novell.com>
[-- Attachment #1: Type: text/plain, Size: 1881 bytes --]
On Mon, Feb 22, 2016 at 05:32:53AM -0700, Jan Beulich wrote:
> >>> On 19.02.16 at 15:32, <konrad@kernel.org> wrote:
> > --- a/xen/include/public/version.h
> > +++ b/xen/include/public/version.h
> > @@ -79,6 +79,10 @@ typedef struct xen_feature_info xen_feature_info_t;
> > #define XENVER_pagesize 7
> >
> > /* arg == xen_domain_handle_t. */
> > +/*
> > + * The toolstack fills it out for the guest consumption. Usually it is
> > + * the UUID of the guest but can be anything.
> > + */
> > #define XENVER_guest_handle 8
>
> Generally fine, but I'm not overly happy with the wording. I'd
> prefer if it was made slightly less vague this is meant to be the
> UUID. Maybe "The toolstack fills it out for guest consumption. It
> is intended to hold the UUID of the guest"?
>
> Jan
>
Attached as well:
>From 7da6d169835acb4aa93bfa48b1ae6b8e198f8e5f Mon Sep 17 00:00:00 2001
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Date: Fri, 19 Feb 2016 09:26:02 -0500
Subject: [PATCH] version: Document guest_handle
And what it is usually used for.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
---
v2: Reword per Jan's suggestion.
---
xen/include/public/version.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/xen/include/public/version.h b/xen/include/public/version.h
index adca602..5e6a7ea 100644
--- a/xen/include/public/version.h
+++ b/xen/include/public/version.h
@@ -78,7 +78,11 @@ typedef struct xen_feature_info xen_feature_info_t;
/* arg == NULL; returns host memory page size. */
#define XENVER_pagesize 7
-/* arg == xen_domain_handle_t. */
+/* arg == xen_domain_handle_t.
+ *
+ * The toolstack fills it out for guest consumption. It is intended to hold
+ * the UUID of the guest.
+ */
#define XENVER_guest_handle 8
#define XENVER_commandline 9
--
2.1.0
[-- Attachment #2: 0001-version-Document-guest_handle.patch --]
[-- Type: text/plain, Size: 1075 bytes --]
>From 7da6d169835acb4aa93bfa48b1ae6b8e198f8e5f Mon Sep 17 00:00:00 2001
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Date: Fri, 19 Feb 2016 09:26:02 -0500
Subject: [PATCH] version: Document guest_handle
And what it is usually used for.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
---
v2: Reword per Jan's suggestion.
---
xen/include/public/version.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/xen/include/public/version.h b/xen/include/public/version.h
index adca602..5e6a7ea 100644
--- a/xen/include/public/version.h
+++ b/xen/include/public/version.h
@@ -78,7 +78,11 @@ typedef struct xen_feature_info xen_feature_info_t;
/* arg == NULL; returns host memory page size. */
#define XENVER_pagesize 7
-/* arg == xen_domain_handle_t. */
+/* arg == xen_domain_handle_t.
+ *
+ * The toolstack fills it out for guest consumption. It is intended to hold
+ * the UUID of the guest.
+ */
#define XENVER_guest_handle 8
#define XENVER_commandline 9
--
2.1.0
[-- Attachment #3: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-02-23 19:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-19 10:10 Is there a way to get the current PV domain's UUID? Razvan Cojocaru
2016-02-19 10:19 ` Razvan Cojocaru
2016-02-19 10:20 ` Ian Campbell
2016-02-19 10:44 ` Razvan Cojocaru
2016-02-19 10:56 ` Ian Campbell
2016-02-19 14:32 ` [PATCH] version: Document guest_handle Konrad Rzeszutek Wilk
2016-02-19 14:36 ` Razvan Cojocaru
2016-02-19 16:21 ` Konrad Rzeszutek Wilk
2016-02-19 16:23 ` Razvan Cojocaru
2016-02-22 12:32 ` Jan Beulich
2016-02-23 19:04 ` Konrad Rzeszutek Wilk [this message]
2016-02-24 7:46 ` Jan Beulich
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=20160223190401.GA15838@char.us.oracle.com \
--to=konrad.wilk@oracle.com \
--cc=JBeulich@suse.com \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=keir@xen.org \
--cc=rcojocaru@bitdefender.com \
--cc=tim@xen.org \
--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.