Jason Wang a127c5bbb6 vhost-vdpa: fix backend feature ioctls
Commit 653055b9acd4 ("vhost-vdpa: support get/set backend features")
introduces two malfunction backend features ioctls:

1) the ioctls was blindly added to vring ioctl instead of vdpa device
   ioctl
2) vhost_set_backend_features() was called when dev mutex has already
   been held which will lead a deadlock

This patch fixes the above issues.

Cc: Eli Cohen <elic@nvidia.com>
Reported-by: Zhu Lingshan <lingshan.zhu@intel.com>
Fixes: 653055b9acd4 ("vhost-vdpa: support get/set backend features")
Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20200907104343.31141-1-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2020-09-24 05:54:36 -04:00
..
2020-09-24 05:54:36 -04:00
2020-04-02 10:41:40 -04:00
2020-08-11 14:34:17 -07:00
2020-07-29 13:24:30 -04:00
2020-06-22 12:34:21 -04:00
2020-06-22 12:34:21 -04:00
2020-09-24 05:54:36 -04:00
2020-09-01 15:34:49 -07:00