virtio-iommu: Store memory region in endpoint struct
commit31aa323fb97bae3786f5bce5a88668f76fdb0cec
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Fri, 30 Oct 2020 18:05:02 +0000 (30 19:05 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 3 Nov 2020 12:19:27 +0000 (3 07:19 -0500)
treed706d49a7c82d5ada5f506c7b024e812e186b25b
parentbfe7a961737452ae8e616df758406e86ac289972
virtio-iommu: Store memory region in endpoint struct

Store the memory region associated to each endpoint into the endpoint
structure, to allow efficient memory notification on map/unmap.

Acked-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Message-Id: <20201030180510.747225-3-jean-philippe@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio-iommu.c