Similar to virtio-blk-dataplane, we stop the iothread while migration starts and restart it when migration finishes.
dfb37cf virtio-scsi: Add migration state notifier for dataplane code
hw/scsi/virtio-scsi.c | 35 ++++++++++++++++++++++++++++++++---
include/hw/virtio/virtio-scsi.h | 2 ++
2 files changed, 34 insertions(+), 3 deletions(-)
Upstream: git.qemu.org