From: Nadav Amit Date: Fri, 18 Apr 2014 00:35:10 +0000 (+0300) Subject: KVM: x86: IN instruction emulation should ignore REP-prefix X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~8^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6e39f0438bc4b0da9334ca42337775c7a00db21;p=pandora-kernel.git KVM: x86: IN instruction emulation should ignore REP-prefix The IN instruction is not be affected by REP-prefix as INS is. Therefore, the emulation should ignore the REP prefix as well. The current emulator implementation tries to perform writeback when IN instruction with REP-prefix is emulated. This causes it to perform wrong memory write or spurious #GP exception to be injected to the guest. Signed-off-by: Nadav Amit Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed