From: Nadav Amit Date: Thu, 18 Sep 2014 19:39:45 +0000 (+0300) Subject: KVM: x86: Sysexit emulation does not mask RIP/RSP X-Git-Tag: omap-for-v3.19/fixes-rc1~43^2~111 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf0b682c9b6a6d6d54adf439bfe953feef7be2e8;p=pandora-kernel.git KVM: x86: Sysexit emulation does not mask RIP/RSP If the operand size is not 64-bit, then the sysexit instruction should assign ECX to RSP and EDX to RIP. The current code assigns the full 64-bits. Fix it by masking. Signed-off-by: Nadav Amit Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed