Re: [Xen-devel] [PATCH v6] x86/hvm/viridian: Enable APIC assist enlightenment

2016-03-24 Thread Paul Durrant
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: 24 March 2016 13:51 > To: Paul Durrant > Cc: Andrew Cooper; Wei Liu; Ian Jackson; Stefano Stabellini; xen- > de...@lists.xenproject.org; Keir (Xen.org) > Subject: Re: [PATCH v6] x86/hvm/viridian: Enable APIC assist

Re: [Xen-devel] [PATCH v6] x86/hvm/viridian: Enable APIC assist enlightenment

2016-03-24 Thread Jan Beulich
>>> On 18.03.16 at 11:32, wrote: > @@ -278,6 +281,53 @@ static void teardown_apic_assist(struct vcpu *v) > put_page_and_type(page); > } > > +void viridian_start_apic_assist(struct vcpu *v, int vector) > +{ > +uint32_t *va = v->arch.hvm_vcpu.viridian.apic_assist.va; > + > +if ( !va

Re: [Xen-devel] [PATCH v6] x86/hvm/viridian: Enable APIC assist enlightenment

2016-03-19 Thread Wei Liu
On Fri, Mar 18, 2016 at 10:32:30AM +, Paul Durrant wrote: > This patch adds code to enable the APIC assist enlightenment which, > under certain conditions, means that the guest can avoid an EOI of > the local APIC and thereby avoid a VMEXIT. > > Use of the enlightenment by the hypervisor is un

Re: [Xen-devel] [PATCH v6] x86/hvm/viridian: Enable APIC assist enlightenment

2016-03-19 Thread Jan Beulich
>>> On 18.03.16 at 11:32, wrote: > This patch adds code to enable the APIC assist enlightenment which, > under certain conditions, means that the guest can avoid an EOI of > the local APIC and thereby avoid a VMEXIT. > > Use of the enlightenment by the hypervisor is under control of the > toolsta

[Xen-devel] [PATCH v6] x86/hvm/viridian: Enable APIC assist enlightenment

2016-03-19 Thread Paul Durrant
This patch adds code to enable the APIC assist enlightenment which, under certain conditions, means that the guest can avoid an EOI of the local APIC and thereby avoid a VMEXIT. Use of the enlightenment by the hypervisor is under control of the toolstack, and is added to the default set. Signed-o