[PATCH 0/6] qemu: fix a passt bug, add a passt feature

Laine Stump via Devel posted 6 patches 6 days, 17 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20260224075208.225959-1-laine@redhat.com
src/conf/networkcommon_conf.c      |  74 ++++++++-------
src/conf/schemas/networkcommon.rng |   4 +-
src/qemu/qemu_passt.c              |  30 ++++++-
src/qemu/qemu_validate.c           | 140 +++++++++++++++++++----------
src/util/virnetdevip.c             |  14 ++-
src/util/virnetdevip.h             |   2 +-
6 files changed, 170 insertions(+), 94 deletions(-)
[PATCH 0/6] qemu: fix a passt bug, add a passt feature
Posted by Laine Stump via Devel 6 days, 17 hours ago
The first patch cleans up a dangling socket that was hanging around
after we finished using a passt process in vhostuser mode. The rest
are to support specifying the default route for a passt interface with

 <route gateway='x.x.x.x'/>

Laine Stump (6):
  qemu: delete passt "repair" socket when appropriate
  qemu: reorganize qemuValidateDomainDeviceDefNetwork()
  qemu: only limit IPv4 prefix for slirp
  util: make the route arg to virNetDevIPRouteGetPrefix const
  conf/util: fix non-specification of IP route destination address
  qemu: support setting default route for passt interfaces inside the
    guest

 src/conf/networkcommon_conf.c      |  74 ++++++++-------
 src/conf/schemas/networkcommon.rng |   4 +-
 src/qemu/qemu_passt.c              |  30 ++++++-
 src/qemu/qemu_validate.c           | 140 +++++++++++++++++++----------
 src/util/virnetdevip.c             |  14 ++-
 src/util/virnetdevip.h             |   2 +-
 6 files changed, 170 insertions(+), 94 deletions(-)

-- 
2.52.0
Re: [PATCH 0/6] qemu: fix a passt bug, add a passt feature
Posted by Ján Tomko via Devel 6 days, 11 hours ago
On a Tuesday in 2026, Laine Stump via Devel wrote:
>The first patch cleans up a dangling socket that was hanging around
>after we finished using a passt process in vhostuser mode. The rest
>are to support specifying the default route for a passt interface with
>
> <route gateway='x.x.x.x'/>
>
>Laine Stump (6):
>  qemu: delete passt "repair" socket when appropriate
>  qemu: reorganize qemuValidateDomainDeviceDefNetwork()
>  qemu: only limit IPv4 prefix for slirp
>  util: make the route arg to virNetDevIPRouteGetPrefix const
>  conf/util: fix non-specification of IP route destination address
>  qemu: support setting default route for passt interfaces inside the
>    guest
>
> src/conf/networkcommon_conf.c      |  74 ++++++++-------
> src/conf/schemas/networkcommon.rng |   4 +-
> src/qemu/qemu_passt.c              |  30 ++++++-
> src/qemu/qemu_validate.c           | 140 +++++++++++++++++++----------
> src/util/virnetdevip.c             |  14 ++-
> src/util/virnetdevip.h             |   2 +-
> 6 files changed, 170 insertions(+), 94 deletions(-)
  

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano