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

Re: [Xen-devel] Is it safe to hvm_emulate_one() an MMX instruction?



>>> On 17.04.13 at 12:40, Razvan Cojocaru <rzvncj@xxxxxxxxx> wrote:
>>  So do you mean an MMX instruction, or MOVDQU (which is an XMM
>> one)? In any event, 4.2 and later should be fine with this particular
>> instruction (and a few more move variants), but 4.1.x and earlier
>> won't be, nor does the emulator support the whole spectrum of
>> MMX, XMM, and AVX instructions.
> 
> In this particular case, MOVDQ, but I'm interested in all the mentioned
> types of instructions.
> 
> What happens when a HVM guest tries to execute such an unsupported
> instruction, via the hypervisor calling hvm_emulate_one()? Does
> hvm_emulate_one() not return X86EMUL_OKAY - is testing for that enough?

Supposedly yes.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.