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

[Xen-devel] FXSAVE instruction emulation


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Abhinav Srivastava <abhinavs_iitkgp@xxxxxxxxxxx>
  • Date: Fri, 18 Jul 2008 00:10:54 +0530 (IST)
  • Delivery-date: Thu, 17 Jul 2008 11:41:19 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=2Qq1tOTd+NC0Eor+IS9Xo0wqbHPRnD2FlO3E5oo/z7HT8aRzcQlLxR0kDiO5KEfhhSS9YhFO7tYERErLpga/Q4qPCuhpOx3DQvtefDcA6t26y/7/P5Eni081DVgRpEnSq0RO8dAAX6XDkfiENmP4YEg4QnMuHg521lkji7W26ig=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi there,

I am using Xen-3.2 on Intel-VT hardware. My guest VM is running Linux kernel 
2.6.21 in HVM mode.

I was trying to do some emulation from the hypervisor and my code was failing 
to emulate FXSAVE instructions. I looked on the mailing list and found the 
following patch that does that:

"[Xen-devel] [PATCH 2/4] Enable VirtualPC 2007 run on top of XEN: fxsave" from 
[Su, Disheng]

However, when I applied this patch it is still not working. I am going to the 
default case of this patch that directly calls "goto cannot_emulate". When I 
printed the instruction it is like this: 0f ae e8. The value of modrm_reg that 
patch uses to check which case statement to execute is 05. 
The patch only handles the value 0.

Could some explain what does this mean? And, how to solve this problem? 

Any help would be appreciated.

Thanks,
Abhinav



      Explore your hobbies and interests. Go to 
http://in.promos.yahoo.com/groups/

_______________________________________________
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®.