Re: [Xen-devel] [PATCH RFC v1 49/74] x86/guest: map per-cpu vcpu_info area.

2018-01-09 Thread Roger Pau Monné
On Mon, Jan 08, 2018 at 06:21:04AM -0700, Jan Beulich wrote: > >>> On 04.01.18 at 14:06, wrote: > > +long rc; > > + > > +if ( !vcpu_info ) > > +{ > > +this_cpu(vcpu_info) = &XEN_shared_info->vcpu_info[vcpu]; > > +return 0; > > +} > > + > > +if ( test_bit(vcpu, v

Re: [Xen-devel] [PATCH RFC v1 49/74] x86/guest: map per-cpu vcpu_info area.

2018-01-08 Thread Jan Beulich
>>> On 04.01.18 at 14:06, wrote: > So that the limit of XEN_LEGACY_MAX_VCPUS can be lifted. > > Signed-off-by: Roger Pau Monné > --- > Should be moved earlier maybe? Especially the changes to time.c undoing/redoing earlier changes suggests so. > --- a/xen/arch/x86/guest/xen.c > +++ b/xen/arch/

[Xen-devel] [PATCH RFC v1 49/74] x86/guest: map per-cpu vcpu_info area.

2018-01-04 Thread Wei Liu
From: Roger Pau Monne So that the limit of XEN_LEGACY_MAX_VCPUS can be lifted. Signed-off-by: Roger Pau Monné --- Should be moved earlier maybe? --- xen/arch/x86/guest/xen.c | 61 +-- xen/arch/x86/time.c | 11 ++- xen/include/a