Re: [Xen-devel] [PATCH v4 16/34] xsplice: Implement payload loading

2016-03-22 Thread Konrad Rzeszutek Wilk
.. snip.. > +static void* xsplice_map_rx(const mfn_t *mfn, unsigned int pages) > +{ > +unsigned long cur; > +unsigned long start, end; > + > +start = (unsigned long)avail_virt_start; > +end = start + pages * PAGE_SIZE; > + > +ASSERT(find_space_fnc); > + > +if ( (find_space_f

[Xen-devel] [PATCH v4 16/34] xsplice: Implement payload loading

2016-03-15 Thread Konrad Rzeszutek Wilk
From: Ross Lagerwall Add support for loading xsplice payloads. This is somewhat similar to the Linux kernel module loader, implementing the following steps: - Verify the elf file. - Parse the elf file. - Allocate a region of memory mapped within a free area of [xen_virt_end, XEN_VIRT_END]. - Co