summary refs log tree commit diff stats
path: root/hw/vfio/common.c
diff options
context:
space:
mode:
authorBharat Bhushan <bbhushan2@marvell.com>2020-10-30 19:05:07 +0100
committerMichael S. Tsirkin <mst@redhat.com>2020-11-03 07:19:27 -0500
commit457f8cbbd80f631cee02057c3c844a43ca65b5c4 (patch)
tree23fea6608b60d057ca3c2e6c7a3fbf38fa337bd0 /hw/vfio/common.c
parent6978bfaa688df55dc9ea581fe32b226f81aebc3a (diff)
downloadfocaccia-qemu-457f8cbbd80f631cee02057c3c844a43ca65b5c4.tar.gz
focaccia-qemu-457f8cbbd80f631cee02057c3c844a43ca65b5c4.zip
memory: Add interface to set iommu page size mask
Allow to set the page size mask supported by an iommu memory region.
This enables a vIOMMU to communicate the page size granule supported by
an assigned device, on hosts that use page sizes greater than 4kB.

Acked-by: Peter Xu <peterx@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-8-jean-philippe@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/vfio/common.c')
0 files changed, 0 insertions, 0 deletions