Skip to contentSkip to conversation

minor patch for tracing VMEXIT/VMENTRY for 64 bit systems

PATCH Superseded Himanshu Raj 2 participants 2 messages Apr 14, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 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])

Signature · 5 lines
-------------------------------------------------------------------------
Himanshu Raj
PhD Student, GaTech (www.cc.gatech.edu/~rhim)
I prefer to receive attachments in an open, non-proprietary format.
-------------------------------------------------------------------------
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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 4 lines · Himanshu Raj

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])

Hi Himanshu,

The SOB line should be:

Part of the rational behind the SOB line and the DCO is being able to trace where patches came from. Having a bogus address rather defeats the purpose...

Thanks,
Muli

Signature · 2 lines
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/