From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 0/5]KVM:Enable APIC-Register Virtualization and Virtual-interrupt delivery Date: Thu, 06 Sep 2012 18:45:24 +0300 Message-ID: <5048C514.6090207@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "kvm@vger.kernel.org" To: "Li, Jiongxi" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:18793 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757868Ab2IFPp2 (ORCPT ); Thu, 6 Sep 2012 11:45:28 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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