diff options
author | 2019-06-24 17:18:10 +0800 | |
---|---|---|
committer | 2019-07-05 22:16:46 +0200 | |
commit | d6d10793dcfa33504745be40b49bd747ff8752ef (patch) | |
tree | 5e95f811da1f15b8d11b00841428dfe79f5934a4 /tcg/optimize.c | |
parent | i386/kvm: Fix build with -m32 (diff) | |
download | qemu-d6d10793dcfa33504745be40b49bd747ff8752ef.tar.xz qemu-d6d10793dcfa33504745be40b49bd747ff8752ef.zip |
intel_iommu: Fix incorrect "end" for vtd_address_space_unmap
IOMMUNotifier is with inclusive ranges, so we should check
against (VTD_ADDRESS_SIZE(s->aw_bits) - 1).
Signed-off-by: Yan Zhao <yan.y.zhao@intel.com>
[peterx: split from another bigger patch]
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20190624091811.30412-2-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tcg/optimize.c')
0 files changed, 0 insertions, 0 deletions