aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86/kvm.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2008-04-30 17:56:04 +0200
committerAvi Kivity <avi@qumranet.com>2008-07-20 12:40:48 +0300
commitd2ebb4103ff349af6dac14955bf93e57487a6694 (patch)
tree5c205c2e36c4c4334855455336427d676e9535c0 /include/asm-x86/kvm.h
parentaf9ca2d703f4cefbf6441bfe127c4191092ad394 (diff)
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/kvm.h')
-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 80eefef2cc7..6f1840812e5 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