Re: [RFC PATCH 01/24] vhost-vdpa: fix backend feature ioctls

From: Jason Wang
Date: Thu Sep 24 2020 - 03:26:33 EST



On 2020/9/24 下午3:16, Eli Cohen wrote:
On Thu, Sep 24, 2020 at 11:21:02AM +0800, Jason Wang wrote:
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

I assume this patch requires some patch in qemu as well. Do you have
such patch?


It's this series: [PATCH 0/3] Vhost-vDPA: batch IOTLB updating.

You were copied.

Thanks