summaryrefslogtreecommitdiffstats
path: root/include/xen
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2017-06-14 19:23:51 +0200
committerJuergen Gross <jgross@suse.com>2017-06-15 08:50:34 +0200
commita714c2865f154a353f5cc3c81aeb8d8065934157 (patch)
treeaff61b1cd3c373b0fe79e84acfbbc95b5aca9d87 /include/xen
parent4a4c29c96dde0eefd69054fd9e6b4255d4717799 (diff)
downloadlinux-stable-a714c2865f154a353f5cc3c81aeb8d8065934157.tar.gz
linux-stable-a714c2865f154a353f5cc3c81aeb8d8065934157.tar.bz2
linux-stable-a714c2865f154a353f5cc3c81aeb8d8065934157.zip
xen: sync include/xen/interface/version.h
Sync include/xen/interface/version.h with the Xen source. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'include/xen')
-rw-r--r--include/xen/interface/version.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/xen/interface/version.h b/include/xen/interface/version.h
index 7ff6498679a3..145f12f9ecec 100644
--- a/include/xen/interface/version.h
+++ b/include/xen/interface/version.h
@@ -63,4 +63,19 @@ struct xen_feature_info {
/* arg == xen_domain_handle_t. */
#define XENVER_guest_handle 8
+#define XENVER_commandline 9
+struct xen_commandline {
+ char buf[1024];
+};
+
+/*
+ * Return value is the number of bytes written, or XEN_Exx on error.
+ * Calling with empty parameter returns the size of build_id.
+ */
+#define XENVER_build_id 10
+struct xen_build_id {
+ uint32_t len; /* IN: size of buf[]. */
+ unsigned char buf[];
+};
+
#endif /* __XEN_PUBLIC_VERSION_H__ */