commit | 8bf00a529967dafbbb210b377c38a15834d1e979 | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Wed Oct 05 14:01:22 2011 +0200 |
committer | Avi Kivity <avi@redhat.com> | Thu Nov 17 16:27:54 2011 +0200 |
tree | 10b03537524c8dcc14f9398e4890a2b450691d20 | |
parent | 52e16b185fdd0aeb0522c203e944873e38ac1575 [diff] |
KVM: VMX: add support for switching of PERF_GLOBAL_CTRL Some cpus have special support for switching PERF_GLOBAL_CTRL msr. Add logic to detect if such support exists and works properly and extend msr switching code to use it if available. Also extend number of generic msr switching entries to 8. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>