Re: [PATCH] KVM: nVMX: VMX instructions: add checks for #GP/#SS exceptions

2015-07-07 Thread Paolo Bonzini
On 17/04/2015 04:22, Eugene Korenevsky wrote: > According to Intel SDM several checks must be applied for memory operands > of VMX instructions. > > Long mode: #GP(0) or #SS(0) depending on the segment must be thrown > if the memory address is in a non-canonical form. > > Protected mode, check

[PATCH] KVM: nVMX: VMX instructions: add checks for #GP/#SS exceptions

2015-04-16 Thread Eugene Korenevsky
According to Intel SDM several checks must be applied for memory operands of VMX instructions. Long mode: #GP(0) or #SS(0) depending on the segment must be thrown if the memory address is in a non-canonical form. Protected mode, checks in chronological order: - The segment type must be checked w