summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.h
diff options
context:
space:
mode:
authorZhang, Yanmin <yanmin_zhang@linux.intel.com>2010-04-19 13:32:45 +0800
committerAvi Kivity <avi@redhat.com>2010-04-19 12:36:50 +0300
commitff9d07a0e7ce756a183e7c2e483aec452ee6b574 (patch)
treec355079734dc14700228f78fdd8ad824c0f80db0 /arch/x86/kvm/x86.h
parent39447b386c846bbf1c56f6403c5282837486200f (diff)
downloadlinux-ff9d07a0e7ce756a183e7c2e483aec452ee6b574.tar.gz
linux-ff9d07a0e7ce756a183e7c2e483aec452ee6b574.tar.bz2
linux-ff9d07a0e7ce756a183e7c2e483aec452ee6b574.zip
KVM: Implement perf callbacks for guest sampling
Below patch implements the perf_guest_info_callbacks on kvm. Signed-off-by: Zhang Yanmin <yanmin_zhang@linux.intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.h')
-rw-r--r--arch/x86/kvm/x86.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.h b/arch/x86/kvm/x86.h
index 2d101639bd8d..b7a404722d2b 100644
--- a/arch/x86/kvm/x86.h
+++ b/arch/x86/kvm/x86.h
@@ -65,4 +65,7 @@ static inline int is_paging(struct kvm_vcpu *vcpu)
return kvm_read_cr0_bits(vcpu, X86_CR0_PG);
}
+void kvm_before_handle_nmi(struct kvm_vcpu *vcpu);
+void kvm_after_handle_nmi(struct kvm_vcpu *vcpu);
+
#endif