>>> On 22.04.16 at 12:46, wrote:
> On Wed, Apr 20, 2016 at 01:49:41AM -0600, Jan Beulich wrote:
>> >>> Konrad Rzeszutek Wilk 04/14/16 12:03 AM >>>
>> >+.PHONY: hello_world_note.o
>> >+hello_world_note.o:
>> >+ $(OBJCOPY) -O binary --only-section=.note.gnu.build-id $(XSPLICE) $@.bin
>> >+ $(OB
On Wed, Apr 20, 2016 at 01:49:41AM -0600, Jan Beulich wrote:
> >>> Konrad Rzeszutek Wilk 04/14/16 12:03 AM >>>
> >+.PHONY: note.o
> >+note.o:
> >+$(OBJCOPY) -O binary --only-section=.note.gnu.build-id
> >$(BASEDIR)/xen-syms $@.bin
> >+$(OBJCOPY) -I binary -O elf64-x86-64 -B i386:x86-64 \
>>> Konrad Rzeszutek Wilk 04/14/16 12:03 AM >>>
>+.PHONY: note.o
>+note.o:
>+ $(OBJCOPY) -O binary --only-section=.note.gnu.build-id
>$(BASEDIR)/xen-syms $@.bin
>+ $(OBJCOPY) -I binary -O elf64-x86-64 -B i386:x86-64 \
>+ --rename-section=.data=.xsplice.depends -S $@.bin
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 MUST