From: Sheng Yang <sheng.yang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Cc: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Subject: Re: [ANNOUNCE] kvm-49 release
Date: Fri, 2 Nov 2007 09:36:41 +0800 [thread overview]
Message-ID: <200711020936.42041.sheng.yang@intel.com> (raw)
In-Reply-To: <b75785ba0711011810q7ebce142y39658d960cf6d11e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 2107 bytes --]
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 <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 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
[-- Attachment #2: printk_flexpriority.patch --]
[-- Type: text/x-diff, Size: 637 bytes --]
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 */
[-- Attachment #3: Type: text/plain, Size: 314 bytes --]
-------------------------------------------------------------------------
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/
[-- Attachment #4: Type: text/plain, Size: 186 bytes --]
_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel
next prev parent reply other threads:[~2007-11-02 1:36 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-01 23:12 [ANNOUNCE] kvm-49 release Avi Kivity
[not found] ` <472A5D42.6080508-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-01 23:16 ` Avi Kivity
2007-11-02 1:10 ` Haydn Solomon
[not found] ` <b75785ba0711011810q7ebce142y39658d960cf6d11e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-11-02 1:30 ` Sheng Yang
[not found] ` <200711020930.36289.sheng.yang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2007-11-05 15:49 ` Avi Kivity
2007-11-02 1:36 ` Sheng Yang [this message]
[not found] ` <200711020936.42041.sheng.yang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2007-11-02 1:54 ` Haydn Solomon
[not found] ` <b75785ba0711011854q5947e584rd7f6146fac1fc508-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-11-02 2:14 ` Haydn Solomon
[not found] ` <b75785ba0711011914m121ac6c7wb3d911e93ec3190-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-11-02 2:19 ` Yang, Sheng
2007-11-02 3:15 ` Sheng Yang
[not found] ` <200711021115.24505.sheng.yang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2007-11-02 4:56 ` Haydn Solomon
[not found] ` <b75785ba0711012156w373c9f5fo2fd9fd2dbebbca52-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-11-02 4:57 ` Sheng Yang
2007-11-02 1:55 ` Zhao, Yunfeng
[not found] ` <10EA09EFD8728347A513008B6B0DA77A0250DC1E-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-11-04 7:47 ` Avi Kivity
[not found] ` <472D7913.9040401-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-04 7:42 ` Izik Eidus
-- strict thread matches above, loose matches on Subject: below --
2007-10-29 2:44 Avi Kivity
[not found] ` <472548F1.9050903-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-29 2:54 ` Haydn Solomon
[not found] ` <b75785ba0710281954s3e4b1909na1844926eb740a00-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-10-29 8:29 ` Izik Eidus
[not found] ` <472599D6.8060901-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-29 12:48 ` Haydn Solomon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200711020936.42041.sheng.yang@intel.com \
--to=sheng.yang-ral2jqcrhueavxtiumwx3w@public.gmane.org \
--cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox