diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2011-05-30 15:23:14 -0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-06-06 10:52:09 +0300 |
commit | 221192bdff2583834984639121595fc9296120d3 (patch) | |
tree | 7e84882430b604226a822b32be6ab29107fc0c73 /virt/kvm | |
parent | 9e3bb6b6f6a0c535eb053fbf0005a8e79e053374 (diff) | |
download | linux-3.10-221192bdff2583834984639121595fc9296120d3.tar.gz linux-3.10-221192bdff2583834984639121595fc9296120d3.tar.bz2 linux-3.10-221192bdff2583834984639121595fc9296120d3.zip |
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>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions