Re: [PATCH 0/5]KVM:Enable APIC-Register Virtualization and Virtual-interrupt delivery
On 09/14/2012 05:14 PM, Li, Jiongxi wrote: I don't see patches for enabling posted interrupts? This can improve both assigned and virtual interrupt delivery. We will have a separate patch for posted interrupts after cleaning up this patch. Meanwhile it is not ready. Please post it together with these patches, even if it is incomplete. I would like to have a view of the direction. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: [PATCH 0/5]KVM:Enable APIC-Register Virtualization and Virtual-interrupt delivery
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/2012 08:40 AM, Li, Jiongxi wrote: 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 non-root operation without a VM exit. You can refer to Chapter 29 of the latest SDM. APICv support in KVM is split into 5 patches: 0001-x86-apicv-add-APICv-register-virtualization-support.patch - enable APICv register virtualization 0002-x86-apicv-adjust-for-virtual-interrupt-delivery.patch - add basic KVM frameowrk for virtual interrupt delivery 0003-x86-apicv-enable-virtual-interrupt-delivery-for-VMX.patch - enable APICv virtual interrupt delivery 0004-x86-apicv-add-interface-for-poking-EOI-exit-bitmap.patch - EOI exit bitmap handling 0005-x86-apicv-add-virtual-x2apic-support.patch - handle MSR style in virtual x2apic Apply them in above order APICv is disabled by default, and use below command to enable it: modprobe enable_apicv_reg=1 enable_apicv_vid=1 Please use git send-email in the future for correct threading of the messages. OK, We will use git send-email to send out the v2 patch I don't see patches for enabling posted interrupts? This can improve both assigned and virtual interrupt delivery. We will have a separate patch for posted interrupts after cleaning up this patch. Meanwhile it is not ready. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 0/5]KVM:Enable APIC-Register Virtualization and Virtual-interrupt delivery
On 09/05/2012 08:40 AM, Li, Jiongxi wrote: 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 non-root operation without a VM exit. You can refer to Chapter 29 of the latest SDM. APICv support in KVM is split into 5 patches: 0001-x86-apicv-add-APICv-register-virtualization-support.patch - enable APICv register virtualization 0002-x86-apicv-adjust-for-virtual-interrupt-delivery.patch - add basic KVM frameowrk for virtual interrupt delivery 0003-x86-apicv-enable-virtual-interrupt-delivery-for-VMX.patch - enable APICv virtual interrupt delivery 0004-x86-apicv-add-interface-for-poking-EOI-exit-bitmap.patch - EOI exit bitmap handling 0005-x86-apicv-add-virtual-x2apic-support.patch - handle MSR style in virtual x2apic Apply them in above order APICv is disabled by default, and use below command to enable it: modprobe enable_apicv_reg=1 enable_apicv_vid=1 Please use git send-email in the future for correct threading of the messages. I don't see patches for enabling posted interrupts? This can improve both assigned and virtual interrupt delivery. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH 0/5]KVM:Enable APIC-Register Virtualization and Virtual-interrupt delivery
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 non-root operation without a VM exit. You can refer to Chapter 29 of the latest SDM. APICv support in KVM is split into 5 patches: 0001-x86-apicv-add-APICv-register-virtualization-support.patch - enable APICv register virtualization 0002-x86-apicv-adjust-for-virtual-interrupt-delivery.patch - add basic KVM frameowrk for virtual interrupt delivery 0003-x86-apicv-enable-virtual-interrupt-delivery-for-VMX.patch - enable APICv virtual interrupt delivery 0004-x86-apicv-add-interface-for-poking-EOI-exit-bitmap.patch - EOI exit bitmap handling 0005-x86-apicv-add-virtual-x2apic-support.patch - handle MSR style in virtual x2apic Apply them in above order APICv is disabled by default, and use below command to enable it: modprobe enable_apicv_reg=1 enable_apicv_vid=1 -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html