Skip to contentSkip to conversation

minor patch for tracing VMEXIT/VMENTRY for 64 bit systems

PATCH RESEND New Himanshu Raj 1 participant 1 message Apr 15, 2006

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 minor patch for tracing VMEXIT/VMENTRY for 64 bit systems

This patch enables tracing VMEXIT/ENTRY for 64-bit systems (are there any 32-bit VT enabled systems out there?)

Signed-off by Himanshu Raj ([email protected])

xen/arch/x86/hvm/vmx/x86_64/exits.S +2 -0
diff -r 19c55935580f xen/arch/x86/hvm/vmx/x86_64/exits.S
@@ -94,6 +94,7 @@
 ENTRY(vmx_asm_vmexit_handler)
         /* selectors are restored/saved by VMX */
         HVM_SAVE_ALL_NOSEGREGS
+        call vmx_trace_vmexit
         call vmx_vmexit_handler
         jmp vmx_asm_do_resume
 
@@ -114,6 +115,7 @@
 /* vmx_restore_all_guest */
         call vmx_intr_assist
         call vmx_load_cr2
+        call vmx_trace_vmentry
         .endif
         /* 
          * Check if we are going back to VMX-based VM