diff options
| author | 2022-04-28 15:22:41 +0200 | |
|---|---|---|
| committer | 2022-05-02 16:04:34 -0700 | |
| commit | bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c (patch) | |
| tree | 3247afa5dcf219a903cd770f6b6e3bcf6fd6685d /net/ipv4/tcp_ipv4.c | |
| parent | vsock/virtio: factor our the code to initialize and delete VQs (diff) | |
| download | linux-rng-bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c.tar.xz linux-rng-bd50c5dc182b0a52599f87b429f9a5a9cbfc9b1c.zip | |
vsock/virtio: add support for device suspend/resume
Implement .freeze and .restore callbacks of struct virtio_driver
to support device suspend/resume.
During suspension all connected sockets are reset and VQs deleted.
During resume the VQs are re-initialized.
Reported by: Vilas R K <vilas.r.k@intel.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions
