]> git.ipfire.org Git - thirdparty/qemu.git/commit
net/passt: Implement vhost-user backend support
authorLaurent Vivier <lvivier@redhat.com>
Wed, 9 Jul 2025 08:24:25 +0000 (10:24 +0200)
committerJason Wang <jasowang@redhat.com>
Mon, 14 Jul 2025 05:27:09 +0000 (13:27 +0800)
commitda703b06a52bfb5fe1a77b0eddbb8d68d3f70762
tree97df1e10e1f8611b1f27a0f86e2be91cff695a36
parent854ee02b22220377f3fa3806adf7e0718c3a5c5a
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>
docs/system/devices/net.rst
net/passt.c
qapi/net.json
qemu-options.hx