Re: [Xen-devel] [PATCH v2 16/30] xen/x86: parse Dom0 kernel for PVHv2

2016-10-11 Thread Roger Pau Monne
On Thu, Oct 06, 2016 at 09:14:18AM -0600, Jan Beulich wrote: > >>> On 27.09.16 at 17:57, wrote: > > +start_info.modlist_paddr = last_addr; > > +start_info.nr_modules = 1; > > +last_addr += sizeof(mod); > > How can this be unconditionally 1? It is certainly possible to boot > without i

Re: [Xen-devel] [PATCH v2 16/30] xen/x86: parse Dom0 kernel for PVHv2

2016-10-06 Thread Jan Beulich
>>> On 27.09.16 at 17:57, wrote: > +start_info.modlist_paddr = last_addr; > +start_info.nr_modules = 1; > +last_addr += sizeof(mod); How can this be unconditionally 1? It is certainly possible to boot without initrd. Jan ___ Xen-devel mai

[Xen-devel] [PATCH v2 16/30] xen/x86: parse Dom0 kernel for PVHv2

2016-09-27 Thread Roger Pau Monne
Introduce a helper to parse the Dom0 kernel. Signed-off-by: Roger Pau Monné --- Cc: Jan Beulich Cc: Andrew Cooper --- xen/arch/x86/domain_build.c | 138 1 file changed, 138 insertions(+) diff --git a/xen/arch/x86/domain_build.c b/xen/arch/x86/domai