Re: [PATCH v2 9/9] KVM: vmx: vmx instructions handling does not consider cs.l

Paolo Bonzini
2014-06-18T16:06:57Z

Il 18/06/2014 18:01, Nadav Amit ha scritto:
>>
>
> Perhaps I am missing something, but I don't see where my mistake is.
> The VMREAD source operand is always read as 64-bits and I made no
> changes there. Therefore, if bits 63:32 are not zero, the instruction
> should fail when attempting to access the field.

In 32-bit mode, it should be read as 32 bits: "Outside IA-32e mode, the
source operand has 32 bits, regardless of the value of CS.D" (so it's
never 16 bits, but it's also never 64 bits).

Paolo