vfio: Record host IOMMU's available IO page sizes
commit7a140a57c69293a2f19b045f40953a87879e8c76
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 30 Sep 2015 02:13:54 +0000 (30 12:13 +1000)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 5 Oct 2015 18:38:41 +0000 (5 12:38 -0600)
tree0e417501391643f168c97b4b70f5d63c717073f4
parent3898aad323475cf19127d9fc0846954d591d8e11
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>
hw/vfio/common.c
include/hw/vfio/vfio-common.h