diff options
author | 2022-08-10 19:15:12 +0200 | |
---|---|---|
committer | 2022-08-11 04:31:15 -0400 | |
commit | 0c89e2a3a9d0815b6eb769ed22157bd9996cbb58 (patch) | |
tree | 6703d351f23ce447ff7847df1d502c50c3406f70 /net/tls | |
parent | vhost-vdpa: uAPI to suspend the device (diff) | |
download | linux-0c89e2a3a9d0815b6eb769ed22157bd9996cbb58.tar.gz linux-0c89e2a3a9d0815b6eb769ed22157bd9996cbb58.tar.bz2 linux-0c89e2a3a9d0815b6eb769ed22157bd9996cbb58.zip |
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>
Diffstat (limited to 'net/tls')
0 files changed, 0 insertions, 0 deletions