linux/drivers/vdpa
Xie Yongji 1394103fd7 vduse: Disallow injecting interrupt before DRIVER_OK is set
The interrupt callback should not be triggered before DRIVER_OK
is set. Otherwise, it might break the virtio device driver.
So let's add a check to avoid the unexpected behavior.

Fixes: c8a6153b6c ("vduse: Introduce VDUSE - vDPA Device in Userspace")
Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Link: https://lore.kernel.org/r/20210923075722.98-1-xieyongji@bytedance.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2021-10-22 06:49:14 -04:00
..
ifcvf vdpa: Support transferring virtual addressing during DMA mapping 2021-09-06 07:20:57 -04:00
mlx5 vdpa/mlx5: Avoid executing set_vq_ready() if device is reset 2021-09-14 18:10:43 -04:00
vdpa_sim vdpa: Support transferring virtual addressing during DMA mapping 2021-09-06 07:20:57 -04:00
vdpa_user vduse: Disallow injecting interrupt before DRIVER_OK is set 2021-10-22 06:49:14 -04:00
virtio_pci vdpa: Support transferring virtual addressing during DMA mapping 2021-09-06 07:20:57 -04:00
Kconfig vduse: Introduce VDUSE - vDPA Device in Userspace 2021-09-06 07:20:58 -04:00
Makefile vduse: Introduce VDUSE - vDPA Device in Userspace 2021-09-06 07:20:58 -04:00
vdpa.c virtio,vdpa,vhost: features, fixes 2021-09-11 14:48:42 -07:00