[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Information required on TRACE_VMEXIT working.


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: aditya shevalkar <aditya27783@xxxxxxxxxxx>
  • Date: Mon, 27 Nov 2006 11:13:21 +0530 (IST)
  • Delivery-date: Sun, 26 Nov 2006 21:43:24 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=UOHEi7uK7eEr2S0ikwV8aLYGTtkfddTv3VIRiCQbNHx39WcQsZQH3n+OPg1e4lQwoKfCjZ54kRw/8yJZVw+YXZJmi6HJ0ZgyViWgF4QIzFgZDZdYKsRihEtdzW831tnGsPRVq0jzA/tNc4efmwFTdZdfPBoH2aKDtQAk/RHs3sk= ;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi all,

Can anybody explain the process of TRACE_VMEXIT ?
I am trying to understand its use in xen3.0.3\xen\arch\x86\hvm\vmx\vmx.c 
file in the vmx_vmexit_handler function. 
Also explain the meaning of its arguments and from where does it fetches 
the values for different arguments. 
Some code snippets from above file are given below: 


TRACE_VMEXIT(0,exit_reason); 
switch ( exit_reason ) 
{ 
case EXIT_REASON_EXCEPTION_NMI: 



vector &= INTR_INFO_VECTOR_MASK; 
TRACE_VMEXIT(1,vector); 


__vmread(EXIT_QUALIFICATION, &va); 
__vmread(VM_EXIT_INTR_ERROR_CODE, &regs->error_code); 
TRACE_VMEXIT(3, regs->error_code); 
TRACE_VMEXIT(4, va); 

Also trying to understand the following expression in the same file: 
#define TRACE_VMEXIT(index,value) this_cpu(trace_values)[index]=value 


With Regards, 
Aditya Shevalkar.


                
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.