RE: [PATCH 1/5]KVM: x86, apicv: add APICv register virtualization support

2012-09-18 Thread Li, Jiongxi
-Original Message- From: Avi Kivity [mailto:a...@redhat.com] Sent: Friday, September 07, 2012 12:02 AM To: Li, Jiongxi Cc: kvm@vger.kernel.org Subject: Re: [PATCH 1/5]KVM: x86, apicv: add APICv register virtualization support On 09/05/2012 08:41 AM, Li, Jiongxi wrote: - APIC

RE: [PATCH 2/5]KVM:x86, apicv: adjust for virtual interrupt delivery

2012-09-17 Thread Li, Jiongxi
-Original Message- From: Li, Jiongxi Sent: Friday, September 14, 2012 10:16 PM To: 'Avi Kivity' Cc: kvm@vger.kernel.org Subject: RE: [PATCH 2/5]KVM:x86, apicv: adjust for virtual interrupt delivery Sorry for the late response -Original Message- From: Avi Kivity

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 1/5]KVM: x86, apicv: add APICv register virtualization support

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:02 AM To: Li, Jiongxi Cc: kvm@vger.kernel.org Subject: Re: [PATCH 1/5]KVM: x86, apicv: add APICv register virtualization support On 09/05/2012 08:41 AM

RE: [PATCH 0/5]KVM:Enable APIC-Register Virtualization and Virtual-interrupt delivery

2012-09-14 Thread Li, Jiongxi
Sorry for the late response. -Original Message- From: Avi Kivity [mailto:a...@redhat.com] Sent: Thursday, September 06, 2012 11:45 PM To: Li, Jiongxi Cc: kvm@vger.kernel.org Subject: Re: [PATCH 0/5]KVM:Enable APIC-Register Virtualization and Virtual-interrupt delivery On 09/05

RE: [PATCH 2/5]KVM:x86, apicv: adjust for virtual interrupt delivery

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:22 AM To: Li, Jiongxi Cc: kvm@vger.kernel.org Subject: Re: [PATCH 2/5]KVM:x86, apicv: adjust for virtual interrupt delivery On 09/05/2012 08:41 AM, Li

RE: [PATCH 3/5]KVM:x86, apicv: enable virtual interrupt delivery for VMX

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:30 AM To: Li, Jiongxi Cc: kvm@vger.kernel.org Subject: Re: [PATCH 3/5]KVM:x86, apicv: enable virtual interrupt delivery for VMX On 09/05/2012 08:41 AM, Li

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

[PATCH 0/5]KVM:Enable APIC-Register Virtualization and Virtual-interrupt delivery

2012-09-04 Thread Li, Jiongxi
The VMCS includes controls that enable the virtualization of interrupts and the Advanced Programmable Interrupt Controller (APIC). When these controls are used, the processor will emulate many accesses to the APIC, track the state of the virtual APIC, and deliver virtual interrupts - all in VMX

[PATCH 1/5]KVM: x86, apicv: add APICv register virtualization support

2012-09-04 Thread Li, Jiongxi
- APIC read doesn't cause VM-Exit - APIC write becomes trap-like Signed-off-by: Kevin Tian kevin.t...@intel.com Signed-off-by: Jiongxi Li jiongxi...@intel.com --- arch/x86/include/asm/vmx.h |2 ++ arch/x86/kvm/lapic.c | 16 arch/x86/kvm/lapic.h |2 ++ arch

[PATCH 2/5]KVM:x86, apicv: adjust for virtual interrupt delivery

2012-09-04 Thread Li, Jiongxi
. Three new interfaces are introduced accordingly: kvm_apic_get_highest_irr kvm_cpu_has_interrupt_apicv_vid kvm_cpu_get_interrupt_apic_vid Signed-off-by: Kevin Tian kevin.t...@intel.com Signed-off-by: Jiongxi Li jiongxi...@intel.com --- arch/x86/include/asm/kvm_host.h |2

[PATCH 3/5]KVM:x86, apicv: enable virtual interrupt delivery for VMX

2012-09-04 Thread Li, Jiongxi
passthrough Signed-off-by: Kevin Tian kevin.t...@intel.com Signed-off-by: Jiongxi Li jiongxi...@intel.com --- arch/x86/include/asm/vmx.h | 11 arch/x86/kvm/lapic.c | 22 +++- arch/x86/kvm/lapic.h |1 + arch/x86/kvm/vmx.c | 62

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

2012-09-04 Thread Li, Jiongxi
...@intel.com Signed-off-by: Jiongxi Li jiongxi...@intel.com --- arch/x86/include/asm/kvm_host.h |1 + arch/x86/kvm/lapic.c|7 ++- arch/x86/kvm/vmx.c | 37 + 3 files changed, 44 insertions(+), 1 deletions(-) diff --git a/arch/x86

[PATCH 5/5]KVM:x86, apicv: add virtual x2apic support

2012-09-04 Thread Li, Jiongxi
-by: Jiongxi Li jiongxi...@intel.com --- arch/x86/kvm/vmx.c | 46 +++--- 1 files changed, 39 insertions(+), 7 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 73ff537..2db1ddc 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c