From: Himanshu Raj Subject: [PATCH][VT][RESEND] minor patch for tracing VMEXIT/VMENTRY for 64 bit systems Date: Sat, 15 Apr 2006 12:19:14 -0400 Message-ID: <20060415161914.GT25566@cc.gatech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 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@cc.gatech.edu) 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