Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752989AbdFNRYJ (ORCPT ); Wed, 14 Jun 2017 13:24:09 -0400 Received: from mx2.suse.de ([195.135.220.15]:59369 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752962AbdFNRYI (ORCPT ); Wed, 14 Jun 2017 13:24:08 -0400 From: Juergen Gross To: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org Cc: boris.ostrovsky@oracle.com, gregkh@linuxfoundation.org, Juergen Gross Subject: [PATCH v4 3/4] xen: sync include/xen/interface/version.h Date: Wed, 14 Jun 2017 19:23:51 +0200 Message-Id: <20170614172352.27557-4-jgross@suse.com> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20170614172352.27557-1-jgross@suse.com> References: <20170614172352.27557-1-jgross@suse.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 958 Lines: 34 Sync include/xen/interface/version.h with the Xen source. Signed-off-by: Juergen Gross Reviewed-by: Boris Ostrovsky --- include/xen/interface/version.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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__ */ -- 2.12.3