aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorGravatar Brett Creeley <brett.creeley@amd.com> 2023-08-21 11:42:15 -0700
committerGravatar Alex Williamson <alex.williamson@redhat.com> 2023-08-22 13:11:57 -0600
commit642265e22ecc7fe05c49cb8e1e0000a049df9857 (patch)
treeb5644041f628f1e36c826bceded296c8099a1c09 /samples
parentvfio/pds: fix return value in pds_vfio_get_lm_file() (diff)
downloadlinux-642265e22ecc7fe05c49cb8e1e0000a049df9857.tar.gz
linux-642265e22ecc7fe05c49cb8e1e0000a049df9857.tar.bz2
linux-642265e22ecc7fe05c49cb8e1e0000a049df9857.zip
vfio/pds: Send type for SUSPEND_STATUS command
Commit bb500dbe2ac6 ("vfio/pds: Add VFIO live migration support") added live migration support for the pds-vfio-pci driver. When sending the SUSPEND command to the device, the driver sets the type of suspend (i.e. P2P or FULL). However, the driver isn't sending the type of suspend for the SUSPEND_STATUS command, which will result in failures. Fix this by also sending the suspend type in the SUSPEND_STATUS command. Fixes: bb500dbe2ac6 ("vfio/pds: Add VFIO live migration support") Signed-off-by: Brett Creeley <brett.creeley@amd.com> Signed-off-by: Shannon Nelson <shannon.nelson@amd.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/20230821184215.34564-1-brett.creeley@amd.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions