From: Abhinav Srivastava Subject: FXSAVE instruction emulation Date: Fri, 18 Jul 2008 00:10:54 +0530 (IST) Message-ID: <469869.74844.qm@web7904.mail.in.yahoo.com> Reply-To: abhinavs_iitkgp@yahoo.co.in Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 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 there, I am using Xen-3.2 on Intel-VT hardware. My guest VM is running Linux kerne= l 2.6.21 in HVM mode. I was trying to do some emulation from the hypervisor and my code was faili= ng to emulate FXSAVE instructions. I looked on the mailing list and found t= he following patch that does that: "[Xen-devel] [PATCH 2/4] Enable VirtualPC 2007 run on top of XEN: fxsave" f= rom [Su, Disheng] However, when I applied this patch it is still not working. I am going to t= he default case of this patch that directly calls "goto cannot_emulate". Wh= en 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.=20 The patch only handles the value 0. Could some explain what does this mean? And, how to solve this problem?=20 Any help would be appreciated. Thanks, Abhinav =0A=0A=0A Explore your hobbies and interests. Go to http://in.promos.y= ahoo.com/groups/