|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] x86 instruction emulation in hvm
On 11/05/2009 23:15, "Emre Can Sezer" <ecsezer@xxxxxxxx> wrote:
> Yup. Not only did hvm_get_segment_register() work like a charm, but I
> also ran into another problem as you have foretold.
>
> The instruction is fxsave, which uses a mask to copy some CPU
> information to a 512byte memory. Any chance of an emulation function
> for this instruction?
Go for it. ;-)
Define a 512-byte array, fxsave into it, and then write the array to guest
memory. Look at how some other FPU ops that write to memory are implemented
for further guidance.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|