summary refs log tree commit diff stats
path: root/net/hub.c
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2025-07-09 10:24:25 +0200
committerJason Wang <jasowang@redhat.com>2025-07-14 13:27:09 +0800
commitda703b06a52bfb5fe1a77b0eddbb8d68d3f70762 (patch)
tree97df1e10e1f8611b1f27a0f86e2be91cff695a36 /net/hub.c
parent854ee02b22220377f3fa3806adf7e0718c3a5c5a (diff)
downloadfocaccia-qemu-da703b06a52bfb5fe1a77b0eddbb8d68d3f70762.tar.gz
focaccia-qemu-da703b06a52bfb5fe1a77b0eddbb8d68d3f70762.zip
net/passt: Implement vhost-user backend support
This commit adds support for the vhost-user interface to the passt
network backend, enabling high-performance, accelerated networking for
guests using passt.

The passt backend can now operate in a vhost-user mode, where it
communicates with the guest's virtio-net device over a socket pair
using the vhost-user protocol. This offloads the datapath from the
main QEMU loop, significantly improving network performance.

When the vhost-user=on option is used with -netdev passt, the new
vhost initialization path is taken instead of the standard
stream-based connection.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/hub.c')
0 files changed, 0 insertions, 0 deletions