summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@nvidia.com>2026-03-17 18:17:50 +0200
committerAlex Williamson <alex@shazbot.org>2026-03-19 12:32:09 -0600
commitc995498636c704641c9e809c31b59445b48f7adc (patch)
treeed6e9484b07d1922246bc1201df4822d3d596bcd /tools/perf/scripts/python
parent50ff3f404617c5d15832fec3711978104c4c9efd (diff)
vfio: Adapt drivers to use the core helper vfio_check_precopy_ioctl
Introduce a core helper function for VFIO_MIG_GET_PRECOPY_INFO and adapt all drivers to use it. It centralizes the common code and ensures that output flags are cleared on entry, in case user opts in to VFIO_DEVICE_FEATURE_MIG_PRECOPY_INFOv2. This preventing any unintended echoing of userspace data back to userspace. Signed-off-by: Yishai Hadas <yishaih@nvidia.com> Link: https://lore.kernel.org/r/20260317161753.18964-4-yishaih@nvidia.com Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions