net/virtio: fix kernel set owner for multi-queue devices
authorThierry Herbelot <thierry.herbelot@6wind.com>
Thu, 8 Apr 2021 12:37:29 +0000 (14:37 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 15 Apr 2021 12:46:43 +0000 (14:46 +0200)
commit3c503b24f8a3a7a8d3c78b90fe7f288e68012510
treef62fb45651bf9ee48168824b934e7fd6a1ef962b
parent400d307e1a602f53a6848235764c833e8dc3c218
net/virtio: fix kernel set owner for multi-queue devices

Restore the original code, where VHOST_SET_OWNER is applied to
all vhostfds of the device.

Fixes: 06856cabb89b ("net/virtio: add virtio-user ops to set owner")
Cc: stable@dpdk.org
Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_user/vhost_kernel.c