Re: [Xen-devel] [PATCH v3 2/5] x86: modify setup_dom0_vcpu to use dom0_cpus internally

2017-03-20 Thread Wei Liu
On Mon, Mar 20, 2017 at 09:19:43AM -0600, Jan Beulich wrote: > >>> On 20.03.17 at 15:14, wrote: > > @@ -1155,8 +1157,10 @@ static int __init construct_dom0_pv( > > cpu = v->processor; > > for ( i = 1; i < d->max_vcpus; i++ ) > > { > > -cpu =

Re: [Xen-devel] [PATCH v3 2/5] x86: modify setup_dom0_vcpu to use dom0_cpus internally

2017-03-20 Thread Jan Beulich
>>> On 20.03.17 at 15:14, wrote: > @@ -1155,8 +1157,10 @@ static int __init construct_dom0_pv( > cpu = v->processor; > for ( i = 1; i < d->max_vcpus; i++ ) > { > -cpu = cpumask_cycle(cpu, _cpus); > -setup_dom0_vcpu(d, i, cpu); > +struct

Re: [Xen-devel] [PATCH v3 2/5] x86: modify setup_dom0_vcpu to use dom0_cpus internally

2017-03-20 Thread Andrew Cooper
On 20/03/17 14:14, Wei Liu wrote: > We will later move dom0 builders to different directories. To avoid the > need of making dom0_cpus visible outside dom0_builder.c, modify > setup_dom0_vcpus to cycle through dom0_cpus internally instead of > relying on the callers to do that. > > No functional

[Xen-devel] [PATCH v3 2/5] x86: modify setup_dom0_vcpu to use dom0_cpus internally

2017-03-20 Thread Wei Liu
We will later move dom0 builders to different directories. To avoid the need of making dom0_cpus visible outside dom0_builder.c, modify setup_dom0_vcpus to cycle through dom0_cpus internally instead of relying on the callers to do that. No functional change. Signed-off-by: Wei Liu