diff options
| author | Yishai Hadas <[email protected]> | 2022-11-06 19:46:18 +0200 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2022-11-14 11:37:07 -0700 |
| commit | 4e016f969529f2aec0545e90119e7eb3cb124c46 (patch) | |
| tree | 2d1bec6a818248fdf4e1f5d9b49cdc1da62949b0 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 913447d06f032a9e9c84870bec0b1adb8c588f29 (diff) | |
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 <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Longfang Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions