linux-stable/drivers/vdpa
Eugenio Pérez 0c89e2a3a9 vdpa_sim: Implement suspend vdpa op
Implement suspend operation for vdpa_sim 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. There are
individual ways to perform that action for some devices
(VHOST_NET_SET_BACKEND, VHOST_VSOCK_SET_RUNNING, ...) but there was no
way to perform it for any vhost device (and, in particular, vhost-vdpa).

Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20220810171512.2343333-5-eperezma@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-08-11 04:31:15 -04:00
..
alibaba vdpa: multiple address spaces support 2022-05-31 12:44:27 -04:00
ifcvf vDPA/ifcvf: support userspace to query features and MQ of a management device 2022-08-11 04:26:08 -04:00
mlx5 vdpa/mlx5: Support different address spaces for control and data 2022-08-11 04:26:08 -04:00
vdpa_sim vdpa_sim: Implement suspend vdpa op 2022-08-11 04:31:15 -04:00
vdpa_user vduse: Support querying information of IOVA regions 2022-08-11 04:26:08 -04:00
virtio_pci vdpa/vp_vdpa : add vdpa tool support in vp_vdpa 2022-05-31 12:45:09 -04:00
Kconfig eni_vdpa: add vDPA driver for Alibaba ENI 2021-11-01 05:23:41 -04:00
Makefile eni_vdpa: add vDPA driver for Alibaba ENI 2021-11-01 05:23:41 -04:00
vdpa.c vDPA: fix 'cast to restricted le16' warnings in vdpa.c 2022-08-11 04:26:08 -04:00