]> git.baikalelectronics.ru Git - kernel.git/commit
vfio/iommu_type1: make use of info.flags
authorPierre Morel <pmorel@linux.vnet.ibm.com>
Wed, 23 Dec 2015 12:08:05 +0000 (13:08 +0100)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 4 Jan 2016 19:55:44 +0000 (12:55 -0700)
commit4e83b721f9a63edc973d327b8c0d72432a019ad2
tree5ffdedabaaf9d0c61d6fc2fc8fb700f5c42b5042
parentd740f249e7e8d545888051c3e24d8e0f38b9581d
vfio/iommu_type1: make use of info.flags

The flags entry is there to tell the user that some
optional information is available.

Since we report the iova_pgsizes signal it to the user
by setting the flags to VFIO_IOMMU_INFO_PGSIZES.

Signed-off-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio_iommu_type1.c