On 12/14/22 08:47, Andy Pei wrote:
When we use "sw-live-migration=1" in arguments, we run in SW assisted
live migration mode.

In SW assisted live migration mode, driver will stop the device and
setup a mediated virtio ring to relay the communication between the
virtio driver and the VDPA device.

For block devices, we have to make sure that each IO is completed.
When we terminate the above mediated virtio ring, we stop
notifying queue about new IOs, wait for all the in-flight IOs to
be completed.

Signed-off-by: Andy Pei <andy....@intel.com>
---
  drivers/vdpa/ifc/ifcvf_vdpa.c | 22 ++++++++++++++++++++++
  1 file changed, 22 insertions(+)


Applied to dpdk-next-virtio/main.

Thanks,
Maxime

Reply via email to