summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorBillXiang <xiangwencheng@dayudpu.com>2024-06-13 14:51:50 +0800
committerMichael S. Tsirkin <mst@redhat.com>2024-07-01 17:16:05 -0400
commit7c211eb078c42146ee9a441cc028fbc4c378ef5a (patch)
treee30c5e92077e362f81b6687ac11fda71bab212c0 /hw/net/virtio-net.c
parent704391f94a5494f10b886ba79c157363a79b1239 (diff)
downloadfocaccia-qemu-7c211eb078c42146ee9a441cc028fbc4c378ef5a.tar.gz
focaccia-qemu-7c211eb078c42146ee9a441cc028fbc4c378ef5a.zip
vhost-user: Skip unnecessary duplicated VHOST_USER_SET_LOG_BASE requests
The VHOST_USER_SET_LOG_BASE requests should be categorized into
non-vring specific messages, and should be sent only once.
If send more than once, dpdk will munmap old log_addr which may has been used and cause segmentation fault.

Signed-off-by: BillXiang <xiangwencheng@dayudpu.com>
Message-Id: <20240613065150.3100-1-xiangwencheng@dayudpu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions