Re: [Xen-devel] [PATCH RFC v1 53/74] xen/pvshim: modify Dom0 builder in order to build a DomU

2018-01-09 Thread Jan Beulich
>>> On 09.01.18 at 17:09, wrote: > On Mon, Jan 08, 2018 at 07:06:14AM -0700, Jan Beulich wrote: >> >>> On 04.01.18 at 14:06, wrote: >> > From: Roger Pau Monne >> > --- a/xen/arch/x86/pv/dom0_build.c >> > +++ b/xen/arch/x86/pv/dom0_build.c >> > @@ -31,9 +31,8 @@ >> > #define L3_PROT (BASE_PROT|_

Re: [Xen-devel] [PATCH RFC v1 53/74] xen/pvshim: modify Dom0 builder in order to build a DomU

2018-01-09 Thread Roger Pau Monné
On Mon, Jan 08, 2018 at 07:06:14AM -0700, Jan Beulich wrote: > >>> On 04.01.18 at 14:06, wrote: > > From: Roger Pau Monne > > --- a/xen/arch/x86/pv/dom0_build.c > > +++ b/xen/arch/x86/pv/dom0_build.c > > @@ -31,9 +31,8 @@ > > #define L3_PROT (BASE_PROT|_PAGE_DIRTY) > > #define L4_PROT (BASE_PRO

Re: [Xen-devel] [PATCH RFC v1 53/74] xen/pvshim: modify Dom0 builder in order to build a DomU

2018-01-09 Thread Jan Beulich
>>> On 04.01.18 at 14:06, wrote: > +void __init pv_shim_setup_dom(struct domain *d, l4_pgentry_t *l4start, > + unsigned long va_start, unsigned long store_va, > + unsigned long console_va, unsigned long > vphysmap, > +

Re: [Xen-devel] [PATCH RFC v1 53/74] xen/pvshim: modify Dom0 builder in order to build a DomU

2018-01-08 Thread Jan Beulich
>>> On 04.01.18 at 14:06, wrote: > From: Roger Pau Monne > > According to the PV ABI the initial virtual memory regions should > contain the xenstore and console pages after the start_info. Fix this > and add the pages to the p2m/m2p after the start_info page also. I don't think "fix" is the ri

[Xen-devel] [PATCH RFC v1 53/74] xen/pvshim: modify Dom0 builder in order to build a DomU

2018-01-04 Thread Wei Liu
From: Roger Pau Monne According to the PV ABI the initial virtual memory regions should contain the xenstore and console pages after the start_info. Fix this and add the pages to the p2m/m2p after the start_info page also. Also set the correct values in the start_info for DomU operation. Signed