Re: [Xen-devel] [PATCH v2 08/10] x86/SVM: Add interrupt management code via AVIC

2017-02-28 Thread George Dunlap
On 02/01/17 17:45, Andrew Cooper wrote: > On 31/12/2016 05:45, Suravee Suthikulpanit wrote: >> Enabling AVIC implicitly disables the V_IRQ, V_INTR_PRIO, V_IGN_TPR, >> and V_INTR_VECTOR fields in the VMCB Control Word. Therefore, this patch >> introduces new interrupt injection code via AVIC backing

Re: [Xen-devel] [PATCH v2 08/10] x86/SVM: Add interrupt management code via AVIC

2017-01-05 Thread Jan Beulich
>>> On 31.12.16 at 06:45, wrote: > --- a/xen/arch/x86/hvm/svm/avic.c > +++ b/xen/arch/x86/hvm/svm/avic.c > @@ -636,6 +636,34 @@ void svm_avic_vmexit_do_noaccel(struct cpu_user_regs > *regs) > return; > } > > +void svm_avic_deliver_posted_intr(struct vcpu *v, u8 vec) > +{ > +struct vla

Re: [Xen-devel] [PATCH v2 08/10] x86/SVM: Add interrupt management code via AVIC

2017-01-02 Thread Andrew Cooper
On 31/12/2016 05:45, Suravee Suthikulpanit wrote: > Enabling AVIC implicitly disables the V_IRQ, V_INTR_PRIO, V_IGN_TPR, > and V_INTR_VECTOR fields in the VMCB Control Word. Therefore, this patch > introduces new interrupt injection code via AVIC backing page. > > Signed-off-by: Suravee Suthikulpan

[Xen-devel] [PATCH v2 08/10] x86/SVM: Add interrupt management code via AVIC

2016-12-30 Thread Suravee Suthikulpanit
Enabling AVIC implicitly disables the V_IRQ, V_INTR_PRIO, V_IGN_TPR, and V_INTR_VECTOR fields in the VMCB Control Word. Therefore, this patch introduces new interrupt injection code via AVIC backing page. Signed-off-by: Suravee Suthikulpanit Cc: Konrad Rzeszutek Wilk Cc: Jan Beulich Cc: Boris O