summaryrefslogtreecommitdiffstats
path: root/python/Makefile
diff options
context:
space:
mode:
authorSi-Wei Liu2022-05-07 04:28:12 +0200
committerMichael S. Tsirkin2022-05-16 22:15:40 +0200
commitaa8581945a13712ff3eed0ad3ba7a9664fc1604b (patch)
tree1bf06bd45b132b3f38e563a45ce710a97737782d /python/Makefile
parenthw/i386/amd_iommu: Fix IOMMU event log encoding errors (diff)
downloadqemu-aa8581945a13712ff3eed0ad3ba7a9664fc1604b.tar.gz
qemu-aa8581945a13712ff3eed0ad3ba7a9664fc1604b.tar.xz
qemu-aa8581945a13712ff3eed0ad3ba7a9664fc1604b.zip
virtio-net: setup vhost_dev and notifiers for cvq only when feature is negotiated
When the control virtqueue feature is absent or not negotiated, vhost_net_start() still tries to set up vhost_dev and install vhost notifiers for the control virtqueue, which results in erroneous ioctl calls with incorrect queue index sending down to driver. Do that only when needed. Fixes: 22288fe ("virtio-net: vhost control virtqueue support") Signed-off-by: Si-Wei Liu <si-wei.liu@oracle.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <1651890498-24478-2-git-send-email-si-wei.liu@oracle.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'python/Makefile')
0 files changed, 0 insertions, 0 deletions