RE: [PATCH 8/9] KVM: x86: Add EOI exit bitmap inference

2015-08-07 Thread Wu, Feng
: Re: [PATCH 8/9] KVM: x86: Add EOI exit bitmap inference > > > > On 07/08/2015 09:46, Wu, Feng wrote: > > If I understand it correctly, here you reserve the low part of the routing > > table, and insert entries with KVM_IRQ_ROUTING_MSI type in them, > > then you use t

Re: [PATCH 8/9] KVM: x86: Add EOI exit bitmap inference

2015-08-07 Thread Paolo Bonzini
On 07/08/2015 09:46, Wu, Feng wrote: > If I understand it correctly, here you reserve the low part of the routing > table, and insert entries with KVM_IRQ_ROUTING_MSI type in them, > then you use this as a hint to KVM to set the EOI bit map. I have two > concerns: > > - Currently, GSI 2 is used

RE: [PATCH 8/9] KVM: x86: Add EOI exit bitmap inference

2015-08-07 Thread Wu, Feng
> -Original Message- > From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On > Behalf Of Paolo Bonzini > Sent: Wednesday, August 05, 2015 11:24 PM > To: linux-ker...@vger.kernel.org; kvm@vger.kernel.org > Cc: Steve Rutherford; rkrc...@redhat.com > Subject: [PATCH 8/9] KVM:

Re: [PATCH 8/9] KVM: x86: Add EOI exit bitmap inference

2015-08-07 Thread Paolo Bonzini
On 07/08/2015 07:43, Wu, Feng wrote: >> > +#ifdef CONFIG_HAVE_KVM_IRQCHIP >> > +struct kvm_irq_routing_table { >> > + int chip[KVM_NR_IRQCHIPS][KVM_IRQCHIP_NUM_PINS]; >> > + struct kvm_kernel_irq_routing_entry *rt_entries; > This filed doesn't exist anymore. In fact, this changes is also in my

RE: [PATCH 8/9] KVM: x86: Add EOI exit bitmap inference

2015-08-06 Thread Wu, Feng
> -Original Message- > From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On > Behalf Of Paolo Bonzini > Sent: Wednesday, August 05, 2015 11:24 PM > To: linux-ker...@vger.kernel.org; kvm@vger.kernel.org > Cc: Steve Rutherford; rkrc...@redhat.com > Subject: [PATCH 8/9] KVM: