linux/tools/virtio
Ricardo Cañuelo c262f75cb6 tools/virtio: initialize spinlocks in vring_test.c
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>
2022-12-28 05:09:47 -05: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 virtio_test: fixup for vq reset 2022-09-27 18:30:49 -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-03-28 16:52:59 -04:00
virtio_test.c virtio_ring: split: stop __vring_new_virtqueue as export symbol 2022-08-11 04:06:38 -04:00
vringh_test.c tools/virtio: initialize spinlocks in vring_test.c 2022-12-28 05:09:47 -05:00