WSL2-Linux-Kernel/samples/vfio-mdev
Alexey Khoroshilov 498e8bf51c sample: vfio-mdev: avoid deadlock in mdev_access()
mdev_access() calls mbochs_get_page() with mdev_state->ops_lock held,
while mbochs_get_page() locks the mutex by itself.
It leads to unavoidable deadlock.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2018-07-11 13:22:41 -06:00
..
Makefile sample: vfio bochs vbe display (host device for bochs-drm) 2018-06-08 10:24:16 -06:00
mbochs.c sample: vfio-mdev: avoid deadlock in mdev_access() 2018-07-11 13:22:41 -06:00
mdpy-defs.h sample: vfio mdev display - host device 2018-06-08 10:24:09 -06:00
mdpy-fb.c sample: vfio mdev display - guest driver 2018-06-08 10:24:13 -06:00
mdpy.c sample: vfio mdev display - host device 2018-06-08 10:24:09 -06:00
mtty.c vfio-mdev/samples: change RDI interrupt condition 2018-03-22 13:18:18 -06:00