Re: [PATCH v7 10/17] KVM: x86: Update IRTE for posted-interrupts

2015-09-11 Thread Paolo Bonzini
On 25/08/2015 10:50, Feng Wu wrote: > +int kvm_arch_update_pi_irte(struct kvm *kvm, unsigned int host_irq, > + uint32_t guest_irq, bool set) Please move all of this code to a vmx.c callback instead of adding get_pi_desc_addr. Check if this makes the pi_set_sn and

Re: [PATCH v7 10/17] KVM: x86: Update IRTE for posted-interrupts

2015-09-11 Thread Paolo Bonzini
On 25/08/2015 10:50, Feng Wu wrote: > +int kvm_arch_update_pi_irte(struct kvm *kvm, unsigned int host_irq, > + uint32_t guest_irq, bool set) Please move all of this code to a vmx.c callback instead of adding get_pi_desc_addr. Check if this makes the pi_set_sn and

RE: [PATCH v7 10/17] KVM: x86: Update IRTE for posted-interrupts

2015-08-25 Thread Wu, Feng
.linux-foundation.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v7 10/17] KVM: x86: Update IRTE for posted-interrupts > > On Tue, 2015-08-25 at 16:50 +0800, Feng Wu wrote: > > This patch adds the routine to update IRTE for posted-interrupts > > when guest changes the i

Re: [PATCH v7 10/17] KVM: x86: Update IRTE for posted-interrupts

2015-08-25 Thread Alex Williamson
On Tue, 2015-08-25 at 16:50 +0800, Feng Wu wrote: > This patch adds the routine to update IRTE for posted-interrupts > when guest changes the interrupt configuration. > > Signed-off-by: Feng Wu > --- > arch/x86/kvm/x86.c | 73 > ++ > 1 file

Re: [PATCH v7 10/17] KVM: x86: Update IRTE for posted-interrupts

2015-08-25 Thread Alex Williamson
On Tue, 2015-08-25 at 16:50 +0800, Feng Wu wrote: This patch adds the routine to update IRTE for posted-interrupts when guest changes the interrupt configuration. Signed-off-by: Feng Wu feng...@intel.com --- arch/x86/kvm/x86.c | 73 ++

RE: [PATCH v7 10/17] KVM: x86: Update IRTE for posted-interrupts

2015-08-25 Thread Wu, Feng
-kernel@vger.kernel.org Subject: Re: [PATCH v7 10/17] KVM: x86: Update IRTE for posted-interrupts On Tue, 2015-08-25 at 16:50 +0800, Feng Wu wrote: This patch adds the routine to update IRTE for posted-interrupts when guest changes the interrupt configuration. Signed-off-by: Feng Wu feng