> -----Original Message----- > From: Pei, Andy <[email protected]> > Sent: Monday, May 23, 2022 5:35 PM > To: [email protected] > Cc: Xia, Chenbo <[email protected]>; [email protected]; Cao, > Gang <[email protected]>; Liu, Changpeng <[email protected]>; Xu, > Rosen <[email protected]>; Xiao, QimaiX <[email protected]> > Subject: [PATCH v9 06/13] vdpa/ifc: add block device SW live-migration > > Add SW live-migration support to block device. > For block device, it is critical that no packet > should be dropped. So when virtio blk device is > paused, make sure hardware last_avail_idx and > last_used_idx are the same. This indicates all > requests have received acks, and no inflight IO. > > Signed-off-by: Andy Pei <[email protected]> > --- > drivers/vdpa/ifc/base/ifcvf.h | 1 + > drivers/vdpa/ifc/ifcvf_vdpa.c | 42 > ++++++++++++++++++++++++++++++++++++++---- > 2 files changed, 39 insertions(+), 4 deletions(-)
Reviewed-by: Chenbo Xia <[email protected]>

