From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sheng Yang Subject: Re: [ANNOUNCE] kvm-49 release Date: Fri, 2 Nov 2007 09:36:41 +0800 Message-ID: <200711020936.42041.sheng.yang@intel.com> References: <472A5D42.6080508@qumranet.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_q8nKHsYRtEAC/tm" Cc: Avi Kivity To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org --Boundary-00=_q8nKHsYRtEAC/tm Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Friday 02 November 2007 09:10:31 Haydn Solomon wrote: > How can I tell that my cpu has flexpriority? > > (Resending this as didn't cc list last time.) Oops, forgot the patch... > > On Nov 1, 2007 7:12 PM, Avi Kivity wrote: > > Today's big change is FlexPriority, which drastically improves Windows > > SMP and/or ACPI performance on newer Intel processors. > > > > Changes from kvm-49: > > - fix smp_call_function_mask() emulation on preemptible kernels > > - move libkvm into own directory (Hollis Blanchard) > > - fix save/restore/migrate for new memory slot management (Uri Lublin) > > - compile fixes (Uri Lublin, me) > > - fix recursive locking on mmap() (Anthony Liguori) > > - remove some cr2 dependencies from x86 emulator > > - further simplify x86 emulator > > - more portability work (Carsten Otte, Hollis Blanchard) > > - Intel FlexPriority support (Sheng Yang) > > - fix dirty page tracking on aliased pages (Uri Lublin) > > > > Notes: > > If you use the modules bundled with kvm-50, you can use any version > > of Linux from 2.6.9 upwards. > > If you use the modules bundled with Linux 2.6.20, you need to use > > kvm-12. > > If you use the modules bundled with Linux 2.6.21, you need to use > > kvm-17. > > Modules from Linux 2.6.22 and up will work with any kvm version from > > kvm-22. Some features may only be available in newer releases. > > For best performance, use Linux 2.6.23-rc2 or later as the host. > > > > http://kvm.qumranet.com > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > kvm-devel mailing list > > kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > > https://lists.sourceforge.net/lists/listinfo/kvm-devel -- Thanks Yang, Sheng --Boundary-00=_q8nKHsYRtEAC/tm Content-Type: text/x-diff; charset="utf-8"; name="printk_flexpriority.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="printk_flexpriority.patch" diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index 42e7fad..8f01c8d 100644 --- a/drivers/kvm/vmx.c +++ b/drivers/kvm/vmx.c @@ -1684,9 +1684,12 @@ static int vmx_vcpu_reset(struct kvm_vcpu *vcpu) vmcs_write32(TPR_THRESHOLD, 0); } - if (vm_need_virtualize_apic_accesses(vmx->vcpu.kvm)) + if (vm_need_virtualize_apic_accesses(vmx->vcpu.kvm)) { vmcs_write64(APIC_ACCESS_ADDR, page_to_phys(vmx->vcpu.kvm->apic_access_page)); + if (vm_need_tpr_shadow(vmx->vcpu.kvm)) + printk(KERN_INFO "kvm: FlexPriority enabled!\n"); + } vmx->vcpu.cr0 = 0x60000010; vmx_set_cr0(&vmx->vcpu, vmx->vcpu.cr0); /* enter rmode */ --Boundary-00=_q8nKHsYRtEAC/tm Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ --Boundary-00=_q8nKHsYRtEAC/tm Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --Boundary-00=_q8nKHsYRtEAC/tm--