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> |
||
|---|---|---|
| .. | ||
| hisilicon | ||
| mlx5 | ||
| nvgrace-gpu | ||
| pds | ||
| qat | ||
| virtio | ||
| xe | ||
| Kconfig | ||
| Makefile | ||
| trace.h | ||
| vfio_pci.c | ||
| vfio_pci_config.c | ||
| vfio_pci_core.c | ||
| vfio_pci_dmabuf.c | ||
| vfio_pci_igd.c | ||
| vfio_pci_intrs.c | ||
| vfio_pci_priv.h | ||
| vfio_pci_rdwr.c | ||
| vfio_pci_zdev.c | ||