From: Konrad Rzeszutek Wilk Subject: Re: [RFC PATCH v3.1 2/2] xsplice: Add hook for build_id Date: Tue, 28 Jul 2015 12:35:44 -0400 Message-ID: References: <1438024817-26942-1-git-send-email-konrad.wilk@oracle.com> <1438024817-26942-3-git-send-email-konrad.wilk@oracle.com> <55B7A4E4.4060804@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZK7rR-0007lq-Dx for xen-devel@lists.xenproject.org; Tue, 28 Jul 2015 16:36:13 +0000 In-Reply-To: <55B7A4E4.4060804@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper , Konrad Rzeszutek Wilk , xen-devel@lists.xenproject.org, msw@amazon.com, aliguori@amazon.com, amesserl@rackspace.com, rick.harris@rackspace.com, paul.voccio@rackspace.com, steven.wilson@rackspace.com, major.hayden@rackspace.com, josh.kearney@rackspace.com, jinsong.liu@alibaba-inc.com, xiantao.zxt@alibaba-inc.com, daniel.kiper@oracle.com, elena.ufimtseva@oracle.com, bob.liu@oracle.com, hanweidong@huawei.com, peter.huangpeng@huawei.com, fanhenglong@huawei.com, liuyingdong@huawei.com, john.liuqiming@huawei.com, jbeulich@suse.com, jeremy@goop.org, dslutz@verizon.com, mpohlack@amazon.com List-Id: xen-devel@lists.xenproject.org On July 28, 2015 11:51:00 AM EDT, Andrew Cooper wrote: >On 27/07/15 20:20, Konrad Rzeszutek Wilk wrote: >> diff --git a/xen/include/xen/compile.h.in >b/xen/include/xen/compile.h.in >> index 440ecb2..939685e 100644 >> --- a/xen/include/xen/compile.h.in >> +++ b/xen/include/xen/compile.h.in >> @@ -10,4 +10,5 @@ >> #define XEN_EXTRAVERSION "@@extraversion@@" >> >> #define XEN_CHANGESET "@@changeset@@" >> +#define XEN_BUILD_ID "@@changeset@@" > >I am not sure putting the changeset into the build id field is >sensible. > Correct, it is unfinished. >On the other hand, linking .note.gnu.build-id and exposing it as >XENVER_build_id seems like a very sensible thing to do. It would >probably make sense to expose it in `xl info`. That can certainly be done. > >~Andrew