Hi, This patch series attempt to fix a few issues in vhost-vdpa multiqueue functionality.
Patch #1 and #2 are the formal submission for RFC patch in: https://lore.kernel.org/qemu-devel/c3e931ee-1a1b-9c2f-2f59-cb4395c23...@oracle.com/ Patch #3 through #5 are obviously small bug fixes. Please find the description of each in the commit log. Patch #6 is a workaround fix for the QEMU segfault described in: https://lore.kernel.org/qemu-devel/4f2acb7a-d436-9d97-80b1-3308c1b39...@oracle.com/ Thanks, -Siwei --- v3: - switch to LOG_GUEST_ERROR for guest trigger-able error - add temporary band-aid fix for QEMU crash due to recursive call v2: - split off vhost_dev notifier patch from "align ctrl_vq index for non-mq guest for vhost_vdpa" - change assert to error message - rename vhost_vdpa_one_time_request to vhost_vdpa_first_dev for clarity Si-Wei Liu (6): virtio-net: setup vhost_dev and notifiers for cvq only when feature is negotiated virtio-net: align ctrl_vq index for non-mq guest for vhost_vdpa vhost-vdpa: fix improper cleanup in net_init_vhost_vdpa vhost-net: fix improper cleanup in vhost_net_start vhost-vdpa: backend feature should set only once virtio-net: don't handle mq request in userspace handler for vhost-vdpa hw/net/vhost_net.c | 4 +++- hw/net/virtio-net.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++--- hw/virtio/vhost-vdpa.c | 23 +++++++++++++++-------- net/vhost-vdpa.c | 4 +++- 4 files changed, 67 insertions(+), 13 deletions(-) -- 1.8.3.1