Re: [Xen-devel] [PATCH v4 09/14] xen/x86: split Dom0 build into PV and PVHv2

2016-12-18 Thread Jan Beulich
>>> On 16.12.16 at 18:57, wrote: > On Fri, Dec 16, 2016 at 09:17:01AM -0700, Jan Beulich wrote: >> >>> On 16.12.16 at 15:45, wrote: >> > On Fri, Dec 16, 2016 at 02:28:54PM +, Roger Pau Monne wrote: >> >> On Fri, Dec 09, 2016 at 09:07:16AM -0700, Jan Beulich wrote: >> >> > >>> On 30.11.16 at 1

Re: [Xen-devel] [PATCH v4 09/14] xen/x86: split Dom0 build into PV and PVHv2

2016-12-18 Thread Jan Beulich
>>> On 16.12.16 at 18:42, wrote: > On Fri, Dec 16, 2016 at 09:18:13AM -0700, Jan Beulich wrote: >> >>> On 16.12.16 at 15:28, wrote: >> > On Fri, Dec 09, 2016 at 09:07:16AM -0700, Jan Beulich wrote: >> >> >>> On 30.11.16 at 17:49, wrote: >> >> > --- a/docs/misc/xen-command-line.markdown >> >> > +

Re: [Xen-devel] [PATCH v4 09/14] xen/x86: split Dom0 build into PV and PVHv2

2016-12-16 Thread Roger Pau Monne
On Fri, Dec 16, 2016 at 09:17:01AM -0700, Jan Beulich wrote: > >>> On 16.12.16 at 15:45, wrote: > > On Fri, Dec 16, 2016 at 02:28:54PM +, Roger Pau Monne wrote: > >> On Fri, Dec 09, 2016 at 09:07:16AM -0700, Jan Beulich wrote: > >> > >>> On 30.11.16 at 17:49, wrote: > >> > > @@ -1655,6 +1653,

Re: [Xen-devel] [PATCH v4 09/14] xen/x86: split Dom0 build into PV and PVHv2

2016-12-16 Thread Roger Pau Monne
On Fri, Dec 16, 2016 at 09:18:13AM -0700, Jan Beulich wrote: > >>> On 16.12.16 at 15:28, wrote: > > On Fri, Dec 09, 2016 at 09:07:16AM -0700, Jan Beulich wrote: > >> >>> On 30.11.16 at 17:49, wrote: > >> > --- a/docs/misc/xen-command-line.markdown > >> > +++ b/docs/misc/xen-command-line.markdown

Re: [Xen-devel] [PATCH v4 09/14] xen/x86: split Dom0 build into PV and PVHv2

2016-12-16 Thread Jan Beulich
>>> On 16.12.16 at 15:28, wrote: > On Fri, Dec 09, 2016 at 09:07:16AM -0700, Jan Beulich wrote: >> >>> On 30.11.16 at 17:49, wrote: >> > --- a/docs/misc/xen-command-line.markdown >> > +++ b/docs/misc/xen-command-line.markdown >> > @@ -656,6 +656,23 @@ affinities to prefer but be not limited to th

Re: [Xen-devel] [PATCH v4 09/14] xen/x86: split Dom0 build into PV and PVHv2

2016-12-16 Thread Jan Beulich
>>> On 16.12.16 at 15:45, wrote: > On Fri, Dec 16, 2016 at 02:28:54PM +, Roger Pau Monne wrote: >> On Fri, Dec 09, 2016 at 09:07:16AM -0700, Jan Beulich wrote: >> > >>> On 30.11.16 at 17:49, wrote: >> > > @@ -1655,6 +1653,28 @@ out: >> > > return rc; >> > > } >> > > >> > > +static int

Re: [Xen-devel] [PATCH v4 09/14] xen/x86: split Dom0 build into PV and PVHv2

2016-12-16 Thread Jan Beulich
>>> On 16.12.16 at 16:28, wrote: > On Fri, Dec 16, 2016 at 02:28:54PM +, Roger Pau Monne wrote: >> On Fri, Dec 09, 2016 at 09:07:16AM -0700, Jan Beulich wrote: >> > >>> On 30.11.16 at 17:49, wrote: >> > > --- a/xen/arch/x86/setup.c >> > > +++ b/xen/arch/x86/setup.c >> > > @@ -187,6 +187,35 @@

Re: [Xen-devel] [PATCH v4 09/14] xen/x86: split Dom0 build into PV and PVHv2

2016-12-16 Thread Roger Pau Monne
On Fri, Dec 16, 2016 at 02:28:54PM +, Roger Pau Monne wrote: > On Fri, Dec 09, 2016 at 09:07:16AM -0700, Jan Beulich wrote: > > >>> On 30.11.16 at 17:49, wrote: > > > --- a/xen/arch/x86/setup.c > > > +++ b/xen/arch/x86/setup.c > > > @@ -187,6 +187,35 @@ static void __init parse_acpi_param(char

Re: [Xen-devel] [PATCH v4 09/14] xen/x86: split Dom0 build into PV and PVHv2

2016-12-16 Thread Roger Pau Monne
On Fri, Dec 16, 2016 at 02:28:54PM +, Roger Pau Monne wrote: > On Fri, Dec 09, 2016 at 09:07:16AM -0700, Jan Beulich wrote: > > >>> On 30.11.16 at 17:49, wrote: > > > @@ -1655,6 +1653,28 @@ out: > > > return rc; > > > } > > > > > > +static int __init construct_dom0_hvm(struct domain *d

Re: [Xen-devel] [PATCH v4 09/14] xen/x86: split Dom0 build into PV and PVHv2

2016-12-16 Thread Roger Pau Monne
On Fri, Dec 09, 2016 at 09:07:16AM -0700, Jan Beulich wrote: > >>> On 30.11.16 at 17:49, wrote: > > --- a/docs/misc/xen-command-line.markdown > > +++ b/docs/misc/xen-command-line.markdown > > @@ -656,6 +656,23 @@ affinities to prefer but be not limited to the > > specified node(s). > > > > Pin

Re: [Xen-devel] [PATCH v4 09/14] xen/x86: split Dom0 build into PV and PVHv2

2016-12-09 Thread Jan Beulich
>>> On 30.11.16 at 17:49, wrote: > --- a/docs/misc/xen-command-line.markdown > +++ b/docs/misc/xen-command-line.markdown > @@ -656,6 +656,23 @@ affinities to prefer but be not limited to the specified > node(s). > > Pin dom0 vcpus to their respective pcpus > > +### dom0 > +> `= List of [ hvm

[Xen-devel] [PATCH v4 09/14] xen/x86: split Dom0 build into PV and PVHv2

2016-11-30 Thread Roger Pau Monne
Split the Dom0 builder into two different functions, one for PV (and classic PVH), and another one for PVHv2. Introduce a new command line parameter called 'dom0' that can be used to request the creation of a PVHv2 Dom0 by setting the 'hvm' sub-option. A panic has also been added if a user tries to