From: Marcelo Tosatti Date: Mon, 30 May 2011 18:23:14 +0000 (-0300) Subject: KVM: x86: use proper port value when checking io instruction permission X-Git-Tag: v3.0-rc3~44^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=221192bdff2583834984639121595fc9296120d3;p=pandora-kernel.git KVM: x86: use proper port value when checking io instruction permission Commit f6511935f42 moved the permission check for io instructions to the ->check_perm callback. It failed to copy the port value from RDX register for string and "in,out ax,dx" instructions. Fix it by reading RDX register at decode stage when appropriate. Fixes FC8.32 installation. Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed