summaryrefslogtreecommitdiff
path: root/include/asm-x86
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-04-30 15:56:04 (GMT)
committerAvi Kivity <avi@qumranet.com>2008-07-20 09:40:48 (GMT)
commitd2ebb4103ff349af6dac14955bf93e57487a6694 (patch)
tree5c205c2e36c4c4334855455336427d676e9535c0 /include/asm-x86
parentaf9ca2d703f4cefbf6441bfe127c4191092ad394 (diff)
downloadlinux-d2ebb4103ff349af6dac14955bf93e57487a6694.tar.xz
KVM: SVM: add tracing support for TDP page faults
To distinguish between real page faults and nested page faults they should be traced as different events. This is implemented by this patch. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/kvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/kvm.h b/include/asm-x86/kvm.h
index 80eefef2..6f18408 100644
--- a/include/asm-x86/kvm.h
+++ b/include/asm-x86/kvm.h
@@ -228,5 +228,6 @@ struct kvm_pit_state {
#define KVM_TRC_CLTS (KVM_TRC_HANDLER + 0x12)
#define KVM_TRC_LMSW (KVM_TRC_HANDLER + 0x13)
#define KVM_TRC_APIC_ACCESS (KVM_TRC_HANDLER + 0x14)
+#define KVM_TRC_TDP_FAULT (KVM_TRC_HANDLER + 0x15)
#endif