KVM: VMX: Add support for guest/host-only profiling
authorGleb Natapov <gleb@redhat.com>
Wed, 5 Oct 2011 12:01:23 +0000 (14:01 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 17 Nov 2011 14:28:00 +0000 (16:28 +0200)
commitd7cd97964ba6d70c558348bd2c87290dce885583
treed75eaa02e97b49cf46b3b7542401fbda93f94665
parent8bf00a529967dafbbb210b377c38a15834d1e979
KVM: VMX: Add support for guest/host-only profiling

Support guest/host-only profiling by switch perf msrs on
a guest entry if needed.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/vmx.c