vduse: Add suspend
Implement suspend operation for vduse devices, so vhost-vdpa will offer
that backend feature and userspace can effectively suspend the device.
This is a must before get virtqueue indexes (base) for live migration,
since the device could modify them after userland gets them.
This patch does not implement resume, so VMM resets the whole device
to recover from a live migration failure. Resume optimization can be
implemented on top of these patches, as other vDPA devices have done in
the past.
Includes clag fixes by Nathan Chancellor <nathan@kernel.org>
and squashed fixes by Eugenio Pérez <eperezma@redhat.com>.
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-ID: <20260610083452.477759-1-eperezma@redhat.com>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Message-ID: <20260610-vduse_vq_kick-fix-guard-usage-v1-1-0ce02c08006e@kernel.org>
Message-ID: <20260611133806.198402-2-eperezma@redhat.com>
Message-ID: <20260611133806.198402-3-eperezma@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2 files changed