]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
vsock/virtio: factor our the code to initialize and delete VQs
authorStefano Garzarella <sgarzare@redhat.com>
Thu, 28 Apr 2022 13:22:40 +0000 (15:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Nov 2023 16:26:36 +0000 (17:26 +0100)
commit1e02df6f69079a3ab0957cfbf2557ffbe730254a
treeb261a170841def815faa63452bc72c22804a7121
parent15a8cac3c250798a32b30a8835d897c94b77fb7d
vsock/virtio: factor our the code to initialize and delete VQs

[ Upstream commit a103209886264a3289f7e53e7ed389d0391fb23f ]

Add virtio_vsock_vqs_init() and virtio_vsock_vqs_del() with the code
that was in virtio_vsock_probe() and virtio_vsock_remove to initialize
and delete VQs.

These new functions will be used in the next commit to support device
suspend/resume

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: 53b08c498515 ("vsock/virtio: initialize the_virtio_vsock before using VQs")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/vmw_vsock/virtio_transport.c