On Fri, Apr 08, 2016 at 07:19:37PM +0100, Andrew Cooper wrote:
> On 07/04/16 04:49, Konrad Rzeszutek Wilk wrote:
> > diff --git a/Config.mk b/Config.mk
> > index db70638..4b6f3f5 100644
> > --- a/Config.mk
> > +++ b/Config.mk
> > @@ -134,6 +134,7 @@ ifeq ($(call ld-ver-build-id,$(LD)),n)
> >
On 07/04/16 04:49, Konrad Rzeszutek Wilk wrote:
> diff --git a/Config.mk b/Config.mk
> index db70638..4b6f3f5 100644
> --- a/Config.mk
> +++ b/Config.mk
> @@ -134,6 +134,7 @@ ifeq ($(call ld-ver-build-id,$(LD)),n)
> build_id_linker :=
> else
> CFLAGS += -DBUILD_ID
> +export XEN_HAS_BUILD_ID=y
>
We now expect that the ELF payloads be built with the
--build-id.
Also the .xsplice.deps section has to have the contents
of the hypervisor (or a preceding payload) build-id.
We already have the code to verify the Elf_Note build-id
so export parts of it.
This dependency means the hypervisor