Re: [Xen-devel] [PATCH v4 1/2] x86/hvm/viridian: keep APIC assist page mapped...

2016-03-20 Thread Jan Beulich
>>> On 17.03.16 at 09:37, wrote: > +static void teardown_apic_assist(struct vcpu *v) > +{ > +struct page_info *page = v->arch.hvm_vcpu.viridian.apic_assist.page; > +void *va = v->arch.hvm_vcpu.viridian.apic_assist.va; > > +if ( !va ) > +return; > + > +v->arch.hvm_vcpu.vir

Re: [Xen-devel] [PATCH v4 1/2] x86/hvm/viridian: keep APIC assist page mapped...

2016-03-20 Thread Andrew Cooper
On 17/03/16 08:37, Paul Durrant wrote: > ... for the lifetime of the domain. > > If Xen is to make use of the APIC assist enlightenment then a persistent > mapping needs to be kept, rather than the temporary one which is currently > used only to initialize the page content. > > This patch also adds

Re: [Xen-devel] [PATCH v4 1/2] x86/hvm/viridian: keep APIC assist page mapped...

2016-03-19 Thread Paul Durrant
> -Original Message- > From: Andrew Cooper [mailto:andrew.coop...@citrix.com] > Sent: 17 March 2016 10:51 > To: Paul Durrant; xen-de...@lists.xenproject.org > Cc: Keir (Xen.org); Jan Beulich > Subject: Re: [PATCH v4 1/2] x86/hvm/viridian: keep APIC assist page > mapped... > > On 17/03/16 0

[Xen-devel] [PATCH v4 1/2] x86/hvm/viridian: keep APIC assist page mapped...

2016-03-19 Thread Paul Durrant
... for the lifetime of the domain. If Xen is to make use of the APIC assist enlightenment then a persistent mapping needs to be kept, rather than the temporary one which is currently used only to initialize the page content. This patch also adds a comment block at the top of the source with info

Re: [Xen-devel] [PATCH v4 1/2] x86/hvm/viridian: keep APIC assist page mapped...

2016-03-18 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 17 March 2016 11:59 > To: Paul Durrant > Cc: Andrew Cooper; xen-de...@lists.xenproject.org; Keir (Xen.org) > Subject: Re: [PATCH v4 1/2] x86/hvm/viridian: keep APIC assist page > mapped... > > >>> On 17.03.16 at 09