vhost-vdpa: account iommu allocations
authorPasha Tatashin <pasha.tatashin@soleen.com>
Tue, 26 Dec 2023 18:28:27 +0000 (18:28 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 27 Dec 2023 20:50:36 +0000 (15:50 -0500)
commitab78ffe1ff7d17102972348bb9b1a16ec2696a2b
tree2155a928c84fd9dffce874844da8a53d3cd57d61
parentc1b9f2c66eed3261db76cccd8a22a9affae8dcbf
vhost-vdpa: account iommu allocations

iommu allocations should be accounted in order to allow admins to
monitor and limit the amount of iommu memory.

Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20231226182827.294158-1-pasha.tatashin@soleen.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: David Rientjes <rientjes@google.com>
drivers/vhost/vdpa.c