From: Juergen Gross Date: Wed, 14 Jun 2017 17:23:51 +0000 (+0200) Subject: xen: sync include/xen/interface/version.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a714c2865f154a353f5cc3c81aeb8d8065934157;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git xen: sync include/xen/interface/version.h Sync include/xen/interface/version.h with the Xen source. Signed-off-by: Juergen Gross Reviewed-by: Boris Ostrovsky Reviewed-by: Stefano Stabellini Signed-off-by: Juergen Gross --- 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__ */