From: Nadav Amit Date: Sun, 2 Nov 2014 09:54:51 +0000 (+0200) Subject: KVM: x86: Emulate push sreg as done in Core X-Git-Tag: omap-for-v3.19/fixes-rc1~43^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fcc207c66a7cff024b05367b86d70d742072d61;p=pandora-kernel.git KVM: x86: Emulate push sreg as done in Core According to Intel SDM push of segment selectors is done in the following manner: "if the operand size is 32-bits, either a zero-extended value is pushed on the stack or the segment selector is written on the stack using a 16-bit move. For the last case, all recent Core and Atom processors perform a 16-bit move, leaving the upper portion of the stack location unmodified." This patch modifies the behavior to match the core behavior. Signed-off-by: Nadav Amit Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed