* [PATCH 0/5]KVM:Enable APIC-Register Virtualization and Virtual-interrupt delivery
@ 2012-09-05 5:40 Li, Jiongxi
2012-09-06 15:45 ` Avi Kivity
0 siblings, 1 reply; 4+ messages in thread
From: Li, Jiongxi @ 2012-09-05 5:40 UTC (permalink / raw)
To: kvm@vger.kernel.org; +Cc: avi@redhat.com
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/5]KVM:Enable APIC-Register Virtualization and Virtual-interrupt delivery
2012-09-05 5:40 [PATCH 0/5]KVM:Enable APIC-Register Virtualization and Virtual-interrupt delivery Li, Jiongxi
@ 2012-09-06 15:45 ` Avi Kivity
2012-09-14 14:14 ` Li, Jiongxi
0 siblings, 1 reply; 4+ messages in thread
From: Avi Kivity @ 2012-09-06 15:45 UTC (permalink / raw)
To: Li, Jiongxi; +Cc: kvm@vger.kernel.org
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH 0/5]KVM:Enable APIC-Register Virtualization and Virtual-interrupt delivery
2012-09-06 15:45 ` Avi Kivity
@ 2012-09-14 14:14 ` Li, Jiongxi
2012-09-16 9:30 ` Avi Kivity
0 siblings, 1 reply; 4+ messages in thread
From: Li, Jiongxi @ 2012-09-14 14:14 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm@vger.kernel.org
Sorry for the late response.
> -----Original Message-----
> From: Avi Kivity [mailto:avi@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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/5]KVM:Enable APIC-Register Virtualization and Virtual-interrupt delivery
2012-09-14 14:14 ` Li, Jiongxi
@ 2012-09-16 9:30 ` Avi Kivity
0 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2012-09-16 9:30 UTC (permalink / raw)
To: Li, Jiongxi; +Cc: kvm@vger.kernel.org
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-09-16 9:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-05 5:40 [PATCH 0/5]KVM:Enable APIC-Register Virtualization and Virtual-interrupt delivery Li, Jiongxi
2012-09-06 15:45 ` Avi Kivity
2012-09-14 14:14 ` Li, Jiongxi
2012-09-16 9:30 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).