aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2022-09-08 15:44:59 -0300
committerJason Gunthorpe <[email protected]>2022-12-05 08:56:01 -0400
commitdcb93d0364a238315dd71f834b199d4b95ae09eb (patch)
treea46678b05e2d1e785f9f26420c112380beaa9aac /tools/perf/scripts/python/export-to-sqlite.py
parentf794eec86c7cd9a340a66109e6f32f8659ff30fa (diff)
vfio: Move the sanity check of the group to vfio_create_group()
This avoids opening group specific code in __vfio_register_dev() for the sanity check if an (existing) group is not corrupted by having two copies of the same struct device in it. It also simplifies the error unwind for this sanity check since the failure can be detected in the group allocation. This also prepares for moving the group specific code into separate group.c. Grabbed from: https://lore.kernel.org/kvm/[email protected]/ Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Kevin Tian <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Tested-by: Lixiao Yang <[email protected]> Tested-by: Yu He <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Signed-off-by: Alex Williamson <[email protected]> Signed-off-by: Yi Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions