commit | 399a40c92d744feebf89b1f07208407c26e0aaf5 | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Mon Mar 07 14:55:07 2011 +0200 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Thu Mar 17 13:08:33 2011 -0300 |
tree | 69ae89dacff4378ec621bffc2fb06b71ca86bda7 | |
parent | 5601d05b8c340ee2643febc146099325eff187eb [diff] |
KVM: emulator: Fix permission checking in io permission bitmap Currently if io port + len crosses 8bit boundary in io permission bitmap the check may allow IO that otherwise should not be allowed. The patch fixes that. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>