aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2009-10-09 10:08:30 -0400
committerAvi Kivity <avi@redhat.com>2009-12-03 02:32:16 -0500
commit236649de3360916ef85f95c82723af17a25b9179 (patch)
tree48cc0be4905254408ccac916dd4ca8205074a17f /arch/x86/kvm/svm.c
parent17897f366847a9ef8a13e3671a0eb1c15422abed (diff)
KVM: SVM: Add tracepoint for #vmexit because intr pending
This patch adds a special tracepoint for the event that a nested #vmexit is injected because kvm wants to inject an interrupt into the guest. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r--arch/x86/kvm/svm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 369eeb86e87c..78a391c60a75 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -1390,7 +1390,7 @@ static inline int nested_svm_intr(struct vcpu_svm *svm)
1390 * the #vmexit here. 1390 * the #vmexit here.
1391 */ 1391 */
1392 svm->nested.exit_required = true; 1392 svm->nested.exit_required = true;
1393 nsvm_printk("VMexit -> INTR\n"); 1393 trace_kvm_nested_intr_vmexit(svm->vmcb->save.rip);
1394 return 1; 1394 return 1;
1395 } 1395 }
1396 1396