summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2015-09-30 12:13:54 +1000
committerAlex Williamson <alex.williamson@redhat.com>2015-10-05 12:38:41 -0600
commit7a140a57c69293a2f19b045f40953a87879e8c76 (patch)
tree0e417501391643f168c97b4b70f5d63c717073f4 /include/hw
parent3898aad323475cf19127d9fc0846954d591d8e11 (diff)
downloadhqemu-7a140a57c69293a2f19b045f40953a87879e8c76.zip
hqemu-7a140a57c69293a2f19b045f40953a87879e8c76.tar.gz
vfio: Record host IOMMU's available IO page sizes
Depending on the host IOMMU type we determine and record the available page sizes for IOMMU translation. We'll need this for other validation in future patches. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/vfio/vfio-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/vfio/vfio-common.h b/include/hw/vfio/vfio-common.h
index 27a14c0..f037f3c 100644
--- a/include/hw/vfio/vfio-common.h
+++ b/include/hw/vfio/vfio-common.h
@@ -71,6 +71,7 @@ typedef struct VFIOContainer {
* future
*/
hwaddr min_iova, max_iova;
+ uint64_t iova_pgsizes;
QLIST_HEAD(, VFIOGuestIOMMU) giommu_list;
QLIST_HEAD(, VFIOGroup) group_list;
QLIST_ENTRY(VFIOContainer) next;
OpenPOWER on IntegriCloud