diff options
author | Kirti Wankhede <kwankhede@nvidia.com> | 2016-11-17 02:16:25 +0530 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2016-11-17 08:33:20 -0700 |
commit | b3c0a866f1692da2d1059dadd9c429ff5b364fc9 (patch) | |
tree | 84442e9b18df0a2c6900aa3395800a095eecdea8 /scripts/gdb/linux/tasks.py | |
parent | c086de818dd81c3c2f7cecff23de6585b74340c0 (diff) |
vfio: Introduce common function to add capabilities
Vendor driver using mediated device framework should use
vfio_info_add_capability() to add capabilities.
Introduced this function to reduce code duplication in vendor drivers.
vfio_info_cap_shift() manipulated a data buffer to add an offset to each
element in a chain. This data buffer is documented in a uapi header.
Changing vfio_info_cap_shift symbol to be available to all drivers.
Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: Neo Jia <cjia@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions