commit | 221192bdff2583834984639121595fc9296120d3 | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Mon May 30 15:23:14 2011 -0300 |
committer | Avi Kivity <avi@redhat.com> | Mon Jun 06 10:52:09 2011 +0300 |
tree | 7e84882430b604226a822b32be6ab29107fc0c73 | |
parent | 9e3bb6b6f6a0c535eb053fbf0005a8e79e053374 [diff] |
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 <mtosatti@redhat.com>