diff options
author | Ricardo Cañuelo <[email protected]> | 2022-10-12 08:29:49 +0200 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2022-12-28 05:09:47 -0500 |
commit | c262f75cb6bb5a63828e72ce3b8fe808e5029479 (patch) | |
tree | b9f55760064cc9da8007bae42796b3ec8f5a6b47 /scripts/gdb/linux/proc.py | |
parent | b9e05399d9273c8c066e73db1e6e85364003030c (diff) |
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 <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Xuan Zhuo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions