diff options
author | 2014-01-24 10:57:41 +0100 | |
---|---|---|
committer | 2014-02-19 16:40:19 +0100 | |
commit | 6d093a4f499fd945b39bd55b307dd9192dc99ead (patch) | |
tree | 152a9f5dbff1887e4d7d09b3daa30fb7c2dc88ab /scripts/qapi-commands.py | |
parent | Fix QEMU build on OpenBSD on x86 archs (diff) | |
download | qemu-6d093a4f499fd945b39bd55b307dd9192dc99ead.tar.xz qemu-6d093a4f499fd945b39bd55b307dd9192dc99ead.zip |
target-i386: Fix I/O bitmap checks for in/out
Commit 1b90d56e changed the implementation of in/out imm to not assign
the accessed port number to cpu_T[0] as it appeared unnecessary.
However, currently gen_check_io() makes use of cpu_T[0] to implement the
I/O bitmap checks, so it's in fact still used and the change broke the
check, leading to #GP in legitimate cases (and probably also allowing
access to ports that shouldn't be allowed).
This patch reintroduces the missing assignment for these cases.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions