diff options
| author | Raghavendra Rao Ananta <rananta@google.com> | 2026-05-06 00:28:38 +0300 |
|---|---|---|
| committer | Alex Williamson <alex@shazbot.org> | 2026-05-20 20:54:10 +0300 |
| commit | a6e4e726600df4ed28b06892c76fb2dd5a5de2e9 (patch) | |
| tree | cd4e54e30cf60031ecf69389ed5e208f8ddd6b61 /include/linux/stackprotector.h | |
| parent | 3152e7f457dece42b13423c45a371ee686074fac (diff) | |
| download | linux-a6e4e726600df4ed28b06892c76fb2dd5a5de2e9.tar.xz | |
vfio: selftests: Add tests to validate SR-IOV UAPI
Add a selftest, vfio_pci_sriov_uapi_test.c, to validate the
SR-IOV UAPI, including the following cases, iterating over
all the IOMMU modes currently supported:
- Setting correct/incorrect/NULL tokens during device init.
- Close the PF device immediately after setting the token.
- Change/override the PF's token after device init.
Signed-off-by: Raghavendra Rao Ananta <rananta@google.com>
Reviewed-by: Vipin Sharma <vipinsh@google.com>
Reviewed-by: David Matlack <dmatlack@google.com>
Tested-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20260505212838.1698034-9-rananta@google.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
