From: Himanshu Raj Subject: [PATCH][VT] minor patch for tracing VMEXIT/VMENTRY for 64 bit systems Date: Fri, 14 Apr 2006 00:11:01 -0400 Message-ID: <20060414041100.GK25566@cc.gatech.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="CblX+4bnyfN0pR09" Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --CblX+4bnyfN0pR09 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 (rhim.list@nosuchaddr.com) -- ------------------------------------------------------------------------- Himanshu Raj PhD Student, GaTech (www.cc.gatech.edu/~rhim) I prefer to receive attachments in an open, non-proprietary format. ------------------------------------------------------------------------- --CblX+4bnyfN0pR09 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="trace_x86_64.patch" diff -r 19c55935580f xen/arch/x86/hvm/vmx/x86_64/exits.S --- a/xen/arch/x86/hvm/vmx/x86_64/exits.S Wed Apr 12 17:53:38 2006 +++ b/xen/arch/x86/hvm/vmx/x86_64/exits.S Thu Apr 13 01:13:38 2006 @@ -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 --CblX+4bnyfN0pR09 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --CblX+4bnyfN0pR09--