vduse: Temporarily fail if control queue feature requested
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Tue, 9 Jan 2024 11:10:24 +0000 (12:10 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 19 Mar 2024 12:19:14 +0000 (08:19 -0400)
commit56e71885b0349241c07631a7b979b61e81afab6a
tree571780a55dbab71e54e8f9f706d6a6eb39ee2cad
parenta115b5716fc9a64652aa9cb332070087178ffafa
vduse: Temporarily fail if control queue feature requested

Virtio-net driver control queue implementation is not safe
when used with VDUSE. If the VDUSE application does not
reply to control queue messages, it currently ends up
hanging the kernel thread sending this command.

Some work is on-going to make the control queue
implementation robust with VDUSE. Until it is completed,
let's fail features check if control-queue feature is
requested.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Message-Id: <20240109111025.1320976-3-maxime.coquelin@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Reviewed-by: Xie Yongji <xieyongji@bytedance.com>
Acked-by: Jason Wang <jasowang@redhat.com>
drivers/vdpa/vdpa_user/vduse_dev.c