vfio: Set IOMMU page size as per host supported page size
commitb917749842493abdfa49f5265ea236c922c05cb2
authorBharat Bhushan <bbhushan2@marvell.com>
Fri, 30 Oct 2020 18:05:08 +0000 (30 19:05 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 3 Nov 2020 12:19:27 +0000 (3 07:19 -0500)
tree1de5518479fa548188fbeadaf17bd32f38b613f6
parent457f8cbbd80f631cee02057c3c844a43ca65b5c4
vfio: Set IOMMU page size as per host supported page size

Set IOMMU supported page size mask same as host Linux supported page
size mask.

Acked-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Bharat Bhushan <bbhushan2@marvell.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Message-Id: <20201030180510.747225-9-jean-philippe@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/vfio/common.c