commit | c2c0f1cde0ef56ba5d6f553db73f51e753d7550a | [log] [tgz] |
---|---|---|
author | Alexey Kardashevskiy <aik@ozlabs.ru> | Wed Dec 19 19:52:31 2018 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Fri Dec 21 16:20:47 2018 +1100 |
tree | 975d29fb75d537175d8e110a6616715642529ebc | |
parent | a15b1883fee11e07e5db7f003a863cc419647e79 [diff] |
vfio_pci: Allow regions to add own capabilities VFIO regions already support region capabilities with a limited set of fields. However the subdriver might have to report to the userspace additional bits. This adds an add_capability() hook to vfio_pci_regops. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Acked-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>