KVM: VMX: add support for switching of PERF_GLOBAL_CTRL
authorGleb Natapov <gleb@redhat.com>
Wed, 5 Oct 2011 12:01:22 +0000 (14:01 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 17 Nov 2011 14:27:54 +0000 (16:27 +0200)
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>

No differences found