linux-stable/tools/virtio
Stefano Garzarella 3c84471925 tools/virtio: fix virtio_test execution
[ Upstream commit 32f1b53fe8 ]

virtio_test hangs on __vring_new_virtqueue() because `vqs_list_lock`
is not initialized.

Let's initialize it in vdev_info_init().

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20220118150631.167015-1-sgarzare@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:39:47 +02:00
..
asm tools/virtio: make asm/barrier.h self contained 2020-04-17 06:05:29 -04:00
crypto tools/virtio: more stubs 2019-10-11 09:27:27 -04:00
generated virtio/test: fix up after IOTLB changes 2020-04-16 18:31:08 -04:00
linux tools/virtio: fix build 2021-09-03 10:09:27 +02:00
ringtest treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
uapi/linux
vhost_test treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
virtio-trace treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 165 2019-05-30 11:26:38 -07:00
xen tools/virtio: xen stub 2019-10-13 09:38:27 -04:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Makefile tools/virtio: fix build 2021-09-03 10:09:27 +02:00
virtio_test.c tools/virtio: fix virtio_test execution 2022-04-08 14:39:47 +02:00
vringh_test.c tools/virtio: Use tools/include/list.h instead of stubs 2020-06-22 12:34:22 -04:00