From: aditya shevalkar Subject: Information required on TRACE_VMEXIT working. Date: Mon, 27 Nov 2006 11:13:21 +0530 (IST) Message-ID: <20061127054321.45514.qmail@web8714.mail.in.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: quoted-printable Return-path: 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 Hi all,=0A=0ACan anybody explain the process of TRACE_VMEXIT ?=0AI am tryin= g to understand its use in xen3.0.3\xen\arch\x86\hvm\vmx\vmx.c =0Afile in t= he vmx_vmexit_handler function. =0AAlso explain the meaning of its argument= s and from where does it fetches =0Athe values for different arguments. =0A= Some code snippets from above file are given below: =0A=0A=0ATRACE_VMEXIT(0= ,exit_reason); =0Aswitch ( exit_reason ) =0A{ =0Acase EXIT_REASON_EXCEPTION= _NMI: =0A=0A=0A=0Avector &=3D INTR_INFO_VECTOR_MASK; =0ATRACE_VMEXIT(1,vect= or); =0A=0A=0A__vmread(EXIT_QUALIFICATION, &va); =0A__vmread(VM_EXIT_INTR_E= RROR_CODE, ®s->error_code); =0ATRACE_VMEXIT(3, regs->error_code); =0ATRA= CE_VMEXIT(4, va); =0A=0AAlso trying to understand the following expression = in the same file: =0A#define TRACE_VMEXIT(index,value) this_cpu(trace_value= s)[index]=3Dvalue =0A=0A=0AWith Regards, =0AAditya Shevalkar.=0A=0A=0A=09= =09=0A__________________________________________________________=0AYahoo! I= ndia Answers: Share what you know. Learn something new=0Ahttp://in.answers.= yahoo.com/