From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: vcpu_info Date: Fri, 10 Oct 2008 09:40:25 -0700 Message-ID: <48EF8579.4040201@goop.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: pallavi jk Cc: George Dunlap , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org pallavi jk wrote: > Thanx George. > > Yes, am looking into xen-2.0. "struct vcpu_info" is not present there. > > Actually am doing a project in which i need to provide a functionality > similar to pushing the address of cr2 onto the stack. > > Also, how can I avoid the use of fast handlers?...I need to perform > some checks inside xen before transferring control to the guest OS for > each trap. > > Should I modify the "set_trap_table" hypercall for that?? It might help if you give a more complete description of what you're trying to achieve. The list of things you're trying to do or want don't make a lot of sense on their own. For example, are you modifying Xen? Or just guest code? If you're modifying Xen, it's pretty easy to remove the special case for trap 0x80. J