linux/tools/virtio
Ricardo Cañuelo 64a6f3689d tools/virtio: initialize spinlocks in vring_test.c
[ Upstream commit c262f75cb6 ]

The virtio_device vqs_list spinlocks must be initialized before use to
prevent functions that manipulate the device virtualqueues, such as
vring_new_virtqueue(), from blocking indefinitely.

Signed-off-by: Ricardo Cañuelo <ricardo.canuelo@collabora.com>
Message-Id: <20221012062949.1526176-1-ricardo.canuelo@collabora.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-24 07:22:41 +01:00
..
asm tools/virtio: add barrier for aarch64 2020-12-18 16:14:30 -05: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-08-11 06:44:24 -04:00
ringtest treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
uapi/linux License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
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: compile with -pthread 2022-05-25 09:57:25 +02:00
virtio_test.c tools/virtio: fix virtio_test execution 2022-04-08 14:22:47 +02:00
vringh_test.c tools/virtio: initialize spinlocks in vring_test.c 2023-01-24 07:22:41 +01:00