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

Re: [Xen-devel] [PATCH 2/4] Enable VirtualPC 2007 run on top of XEN: fxsave emulation


  • To: "Su, Disheng" <disheng.su@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Fri, 01 Feb 2008 12:05:50 +0000
  • Delivery-date: Fri, 01 Feb 2008 04:06:22 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AchkmxGlFEVoWj5tQNqzgofTtJUDSQAL7dwX
  • Thread-topic: [Xen-devel] [PATCH 2/4] Enable VirtualPC 2007 run on top of XEN: fxsave emulation

Emulate by calling ->load_fpu_ctxt() hook, then "fxsave" into a private
buffer and then call ->write() hook a word at a time. Slow, but probably
fast enough and avoids having another hook.

Ultimately I plan to improve the read/write hooks to accept arbitrary length
parameters.

 -- Keir

On 1/2/08 06:24, "Su, Disheng" <disheng.su@xxxxxxxxx> wrote:

> IF guest CR0.wp is 0 and the destination address is ReadOnly, we have to
> emulate it.
> 
> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>
> Signed-off-by: Disheng Su <disheng.su.com>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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