diff --git a/hw/i386/intel_iommu.c b/hw/i386/intel_iommu.c index f046f8591335956757da600a69a4482ef95b241b..dcc334060cd65d16f2a657def094206867e5bc65 100644 --- a/hw/i386/intel_iommu.c +++ b/hw/i386/intel_iommu.c @@ -3791,7 +3791,7 @@ static void vtd_address_space_unmap(VTDAddressSpace *as, IOMMUNotifier *n) n->start, size); map.iova = n->start; - map.size = size; + map.size = size - 1; /* Inclusive */ iova_tree_remove(as->iova_tree, map); }