WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] FXSAVE instruction emulation

To: xen-devel@xxxxxxxxxxxxxxxxxxx, "Su, Disheng" <disheng.su@xxxxxxxxx>
Subject: RE: [Xen-devel] FXSAVE instruction emulation
From: Abhinav Srivastava <abhinavs_iitkgp@xxxxxxxxxxx>
Date: Fri, 18 Jul 2008 10:22:58 +0530 (IST)
Cc:
Delivery-date: Thu, 17 Jul 2008 21:53:21 -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:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=09xEHpvPmVgd3ur0NqUNct1Ts+AafUw/yH0T4/rOK7+ira8+SsukC1+K2B6SSGesd+6Vl6UV2vRViLrt1t4UeHJMV1i/stemibIM79PMiKE5ZAOz9f1xjoUYMBdKH/UqJnZkYsvTZJvJjSoDpsSFlWB7yeOi/RFZ7gvYU4iEfd4=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <FF386CB4AE0E4648B0A96060EC00F36CC5F5B4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: abhinavs_iitkgp@xxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Yes, I am trying to emulate instructions step by step in some scenarios and I 
am getting this instruction. I tried skipping this instruction but it did not 
work. Do you know any patch or workaround for that?

Thanks,
Abhinav


--- On Fri, 18/7/08, Su, Disheng <disheng.su@xxxxxxxxx> wrote:

> From: Su, Disheng <disheng.su@xxxxxxxxx>
> Subject: RE: [Xen-devel] FXSAVE instruction emulation
> To: abhinavs_iitkgp@xxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
> Cc: "Su, Disheng" <disheng.su@xxxxxxxxx>
> Date: Friday, 18 July, 2008, 8:51 AM
> Abhinav Srivastava wrote:
> > 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.   
> > 
> "0f ae e8" is the lfence instruction. It
> isn't handled in this patch...
> You can refer to Intel Software Developer Manual Vol.2B
> A.4.2 for detail
> information.
> > Could some explain what does this mean? And, how to
> solve this
> > problem? 
> >
> Don't why you need to emulate this instruction...
> Do you want to emulate instructions step by step?
> How about bypass this "lfence"?
> > 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
> 
> 
> 
> Best Regards,
> Disheng, Su
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel


      Bring your gang together. Do your thing. Find your favourite Yahoo! group 
at http://in.promos.yahoo.com/groups/

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

<Prev in Thread] Current Thread [Next in Thread>