summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@nvidia.com>2022-11-06 18:46:18 +0100
committerAlex Williamson <alex.williamson@redhat.com>2022-11-14 19:37:07 +0100
commit4e016f969529f2aec0545e90119e7eb3cb124c46 (patch)
tree2d1bec6a818248fdf4e1f5d9b49cdc1da62949b0 /sound
parentvfio: Remove vfio_free_device (diff)
downloadlinux-4e016f969529f2aec0545e90119e7eb3cb124c46.tar.xz
linux-4e016f969529f2aec0545e90119e7eb3cb124c46.zip
vfio: Add an option to get migration data size
Add an option to get migration data size by introducing a new migration feature named VFIO_DEVICE_FEATURE_MIG_DATA_SIZE. Upon VFIO_DEVICE_FEATURE_GET the estimated data length that will be required to complete STOP_COPY is returned. This option may better enable user space to consider before moving to STOP_COPY whether it can meet the downtime SLA based on the returned data. The patch also includes the implementation for mlx5 and hisi for this new option to make it feature complete for the existing drivers in this area. Signed-off-by: Yishai Hadas <yishaih@nvidia.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Reviewed-by: Longfang Liu <liulongfang@huawei.com> Link: https://lore.kernel.org/r/20221106174630.25909-2-yishaih@nvidia.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions