]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commitd4f50ee2f5b45fc4d9e4142a52edf8b7935a9275
tree5ffdedabaaf9d0c61d6fc2fc8fb700f5c42b5042
parent03a76b60f8ba27974e2d252bc555d2c103420e15
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