summary refs log tree commit diff stats
path: root/hw/net
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2023-06-15 11:26:26 +0800
committerMichael S. Tsirkin <mst@redhat.com>2023-06-26 09:50:00 -0400
commitebe1504e10f771f4fc5d005a6d1ed3f30e3ad428 (patch)
treed800efcb6edd745a53e1f0bb1a89dda6e5d24277 /hw/net
parentce735ff03349eeac9efe59c118d78f088a151ec4 (diff)
downloadfocaccia-qemu-ebe1504e10f771f4fc5d005a6d1ed3f30e3ad428.tar.gz
focaccia-qemu-ebe1504e10f771f4fc5d005a6d1ed3f30e3ad428.zip
intel_iommu: Fix address space unmap
During address space unmap, corresponding IOVA tree entries are
also removed. But DMAMap is set beyond notifier's scope by 1, so
in theory there is possibility to remove a continuous entry above
the notifier's scope but falling in adjacent notifier's scope.

There is no issue currently as no use cases allocate notifiers
continuously, but let's be robust.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-Id: <20230615032626.314476-4-zhenzhong.duan@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net')
0 files changed, 0 insertions, 0 deletions