linux/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
mdpy-fb.c sample: vfio mdev display - guest driver 2018-06-08 10:24:13 -06:00
mdpy.c
mtty.c