[PATCH v2 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-04 Thread Yang Zhang
From: Yang Zhang yang.z.zh...@intel.com Posted Interrupt allows APIC interrupts to inject into guest directly without any vmexit. - When delivering a interrupt to guest, if target vcpu is running, update Posted-interrupt requests bitmap and send a notification event to the vcpu. Then the

Re: [PATCH v2 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-04 Thread Gleb Natapov
On Mon, Feb 04, 2013 at 05:05:14PM +0800, Yang Zhang wrote: From: Yang Zhang yang.z.zh...@intel.com Posted Interrupt allows APIC interrupts to inject into guest directly without any vmexit. - When delivering a interrupt to guest, if target vcpu is running, update Posted-interrupt

RE: [PATCH v2 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-04 Thread Zhang, Yang Z
Gleb Natapov wrote on 2013-02-04: On Mon, Feb 04, 2013 at 05:05:14PM +0800, Yang Zhang wrote: From: Yang Zhang yang.z.zh...@intel.com Posted Interrupt allows APIC interrupts to inject into guest directly without any vmexit. - When delivering a interrupt to guest, if target vcpu is

Re: [PATCH v2 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-04 Thread Gleb Natapov
On Tue, Feb 05, 2013 at 03:13:52AM +, Zhang, Yang Z wrote: Gleb Natapov wrote on 2013-02-04: On Mon, Feb 04, 2013 at 05:05:14PM +0800, Yang Zhang wrote: From: Yang Zhang yang.z.zh...@intel.com Posted Interrupt allows APIC interrupts to inject into guest directly without any vmexit.

Re: [PATCH v2 2/2] KVM: VMX: Add Posted Interrupt supporting

2013-02-04 Thread Gleb Natapov
On Tue, Feb 05, 2013 at 08:45:01AM +0200, Gleb Natapov wrote: +/* Posted interrupt descriptor */ +struct pi_desc *pi; + You haven't answered on my previous review why are you trying save 46 bytes here. Sorry. I cannot get your point. It's just a pointer and only