Re: [PATCH v2 1/2] KVM: X86: Fix operand size during instruction decoding

2017-10-31 Thread Pedro Fonseca
This patch fixes the problem and passes my tests on the CS.DB field, this includes the "push es" and the "high 16-bits of ESP" test cases. Tested-by: Pedro Fonseca On 10/27/17 1:36 AM, Wanpeng Li wrote: From: Wanpeng Li Pedro reported: During tests that we conducted on KVM, we noticed th

[PATCH v2 1/2] KVM: X86: Fix operand size during instruction decoding

2017-10-27 Thread Wanpeng Li
From: Wanpeng Li Pedro reported: During tests that we conducted on KVM, we noticed that executing a "PUSH %ES" instruction under KVM produces different results on both memory and the SP register depending on whether EPT support is enabled. With EPT the SP is reduced by 4 bytes (and the wr