Re: [PATCH 4/5]KVM:x86, apicv: add interface for poking EOI exit bitmap

2012-09-19 Thread Avi Kivity
On 09/17/2012 02:28 PM, Li, Jiongxi wrote: +++ b/arch/x86/kvm/lapic.c @@ -499,8 +499,13 @@ static int __apic_accept_irq(struct kvm_lapic *apic, int delivery_mode, if (trig_mode) { apic_debug(level trig mode for vector %d, vector);

RE: [PATCH 4/5]KVM:x86, apicv: add interface for poking EOI exit bitmap

2012-09-17 Thread Li, Jiongxi
-Original Message- From: Avi Kivity [mailto:a...@redhat.com] Sent: Friday, September 07, 2012 12:38 AM To: Li, Jiongxi Cc: kvm@vger.kernel.org Subject: Re: [PATCH 4/5]KVM:x86, apicv: add interface for poking EOI exit bitmap On 09/05/2012 08:41 AM, Li, Jiongxi wrote

Re: [PATCH 4/5]KVM:x86, apicv: add interface for poking EOI exit bitmap

2012-09-16 Thread Avi Kivity
On 09/14/2012 05:19 PM, Li, Jiongxi wrote: Sorry for the late response -Original Message- From: Avi Kivity [mailto:a...@redhat.com] Sent: Friday, September 07, 2012 12:38 AM To: Li, Jiongxi Cc: kvm@vger.kernel.org Subject: Re: [PATCH 4/5]KVM:x86, apicv: add interface for poking

RE: [PATCH 4/5]KVM:x86, apicv: add interface for poking EOI exit bitmap

2012-09-14 Thread Li, Jiongxi
Sorry for the late response -Original Message- From: Avi Kivity [mailto:a...@redhat.com] Sent: Friday, September 07, 2012 12:38 AM To: Li, Jiongxi Cc: kvm@vger.kernel.org Subject: Re: [PATCH 4/5]KVM:x86, apicv: add interface for poking EOI exit bitmap On 09/05/2012 08:41 AM, Li

Re: [PATCH 4/5]KVM:x86, apicv: add interface for poking EOI exit bitmap

2012-09-06 Thread Avi Kivity
On 09/05/2012 08:41 AM, Li, Jiongxi wrote: With APICv virtual interrupt delivery feature, EOI write from non root mode doesn't cause VM-Exit unless set in EOI exit bitmap VMCS field. Basically there're two methods to manipulate EOI exit bitmap: Should be folded into the previous patch,

[PATCH 4/5]KVM:x86, apicv: add interface for poking EOI exit bitmap

2012-09-04 Thread Li, Jiongxi
With APICv virtual interrupt delivery feature, EOI write from non root mode doesn't cause VM-Exit unless set in EOI exit bitmap VMCS field. Basically there're two methods to manipulate EOI exit bitmap: [Option 1] Ideally only level triggered irq requires a hook in vLAPIC EOI write, so that