Su, Disheng
2008-Feb-01 06:24 UTC
[Xen-devel] [PATCH 2/4] Enable VirtualPC 2007 run on top of XEN: fxsave emulation
IF guest CR0.wp is 0 and the destination address is ReadOnly, we have to emulate it. Reviewed-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Disheng Su <disheng.su.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Feb-01 12:05 UTC
Re: [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@intel.com> wrote:> IF guest CR0.wp is 0 and the destination address is ReadOnly, we have to > emulate it. > > Reviewed-by: Kevin Tian <kevin.tian@intel.com> > Signed-off-by: Disheng Su <disheng.su.com> > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel