Commit caadae6c authored by Thanos Makatos's avatar Thanos Makatos Committed by Tomasz Zawadzki
Browse files

nvmf/vfio-user: briefly explain live migration



Signed-off-by: default avatarThanos Makatos <thanos.makatos@nutanix.com>
Change-Id: I08d3aa90ec4f3e29bece820919bd39d20c74c6cf
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11745


Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
Reviewed-by: default avatarJohn Levon <levon@movementarian.org>
parent 50a48752
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -70,6 +70,16 @@ enum nvmf_vfio_user_req_state {
	VFIO_USER_REQUEST_STATE_EXECUTING,
};

/*
 * Support for live migration in NVMf/vfio-user: live migration is implemented
 * by stopping the NVMf subsystem when the device is instructed to enter the
 * stop-and-copy state and then trivially, and most importantly safely,
 * collecting migration state and providing it to the vfio-user client. We
 * don't provide any migration state at the pre-copy state as that's too
 * complicated to do, we might support this in the future.
 */


/* NVMe device state representation */
struct nvme_migr_sq_state {
	uint16_t	sqid;