Re: [Xen-devel] [PATCH v5 13/28] xsplice, symbols: Implement symbol name resolution on address.

2016-04-11 Thread Ross Lagerwall
On 04/08/2016 06:38 PM, Jan Beulich wrote: (Did you drop all Cc-s for a reason?) No. Re-adding CCs. On 08.04.16 at 18:04, wrote: On 04/01/2016 04:11 PM, Jan Beulich wrote: +nsyms = 0; +strtab_len = 0; +for ( i = 1; i < elf->nsym; i++ ) +{ +if ( is_core_symbol(elf,

Re: [Xen-devel] [PATCH v5 13/28] xsplice, symbols: Implement symbol name resolution on address.

2016-04-08 Thread Jan Beulich
>>> On 08.04.16 at 17:27, wrote: > On Fri, Apr 08, 2016 at 09:21:37AM -0600, Jan Beulich wrote: >> >>> On 08.04.16 at 03:32, wrote: >> > On Thu, Apr 07, 2016 at 09:46:49AM -0600, Jan Beulich wrote: >> >> >>> On 07.04.16 at 05:14, wrote: >> >> > On Fri, Apr 01, 2016 at 09:11:40AM -0600, Jan Beuli

Re: [Xen-devel] [PATCH v5 13/28] xsplice, symbols: Implement symbol name resolution on address.

2016-04-08 Thread Konrad Rzeszutek Wilk
On Fri, Apr 08, 2016 at 09:21:37AM -0600, Jan Beulich wrote: > >>> On 08.04.16 at 03:32, wrote: > > On Thu, Apr 07, 2016 at 09:46:49AM -0600, Jan Beulich wrote: > >> >>> On 07.04.16 at 05:14, wrote: > >> > On Fri, Apr 01, 2016 at 09:11:40AM -0600, Jan Beulich wrote: > >> >> >>> On 24.03.16 at 21:

Re: [Xen-devel] [PATCH v5 13/28] xsplice, symbols: Implement symbol name resolution on address.

2016-04-08 Thread Jan Beulich
>>> On 08.04.16 at 03:32, wrote: > On Thu, Apr 07, 2016 at 09:46:49AM -0600, Jan Beulich wrote: >> >>> On 07.04.16 at 05:14, wrote: >> > On Fri, Apr 01, 2016 at 09:11:40AM -0600, Jan Beulich wrote: >> >> >>> On 24.03.16 at 21:00, wrote: >> >> > --- a/xen/arch/x86/Makefile >> >> > +++ b/xen/arch/

Re: [Xen-devel] [PATCH v5 13/28] xsplice, symbols: Implement symbol name resolution on address.

2016-04-07 Thread Konrad Rzeszutek Wilk
On Thu, Apr 07, 2016 at 09:46:49AM -0600, Jan Beulich wrote: > >>> On 07.04.16 at 05:14, wrote: > > On Fri, Apr 01, 2016 at 09:11:40AM -0600, Jan Beulich wrote: > >> >>> On 24.03.16 at 21:00, wrote: > >> > --- a/xen/arch/x86/Makefile > >> > +++ b/xen/arch/x86/Makefile > >> > @@ -113,12 +113,14 @@

Re: [Xen-devel] [PATCH v5 13/28] xsplice, symbols: Implement symbol name resolution on address.

2016-04-07 Thread Jan Beulich
>>> On 07.04.16 at 05:14, wrote: > On Fri, Apr 01, 2016 at 09:11:40AM -0600, Jan Beulich wrote: >> >>> On 24.03.16 at 21:00, wrote: >> > --- a/xen/arch/x86/Makefile >> > +++ b/xen/arch/x86/Makefile >> > @@ -113,12 +113,14 @@ $(TARGET)-syms: prelink.o xen.lds >> > $(BASEDIR)/common/symbols-dummy.

Re: [Xen-devel] [PATCH v5 13/28] xsplice, symbols: Implement symbol name resolution on address.

2016-04-06 Thread Konrad Rzeszutek Wilk
On Fri, Apr 01, 2016 at 09:11:40AM -0600, Jan Beulich wrote: > >>> On 24.03.16 at 21:00, wrote: > > --- a/xen/arch/x86/Makefile > > +++ b/xen/arch/x86/Makefile > > @@ -113,12 +113,14 @@ $(TARGET)-syms: prelink.o xen.lds > > $(BASEDIR)/common/symbols-dummy.o > > $(LD) $(LDFLAGS) -T xen.lds -N

Re: [Xen-devel] [PATCH v5 13/28] xsplice, symbols: Implement symbol name resolution on address.

2016-04-01 Thread Jan Beulich
>>> On 24.03.16 at 21:00, wrote: > --- a/xen/arch/x86/Makefile > +++ b/xen/arch/x86/Makefile > @@ -113,12 +113,14 @@ $(TARGET)-syms: prelink.o xen.lds > $(BASEDIR)/common/symbols-dummy.o > $(LD) $(LDFLAGS) -T xen.lds -N prelink.o \ > $(BASEDIR)/common/symbols-dummy.o -o $(@D)/.$(@

[Xen-devel] [PATCH v5 13/28] xsplice, symbols: Implement symbol name resolution on address.

2016-03-24 Thread Konrad Rzeszutek Wilk
From: Ross Lagerwall If in the payload we do not have the old_addr we can resolve the virtual address based on the UNDEFined symbols. We also use an boolean flag: new_symbol to track symbols. The usual case this is used is by: * A payload may introduce a new symbol * A payload may override an e