qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v8 00/14] qapi: net: add unix socket type support to netdev b


From: Stefano Brivio
Subject: Re: [PATCH v8 00/14] qapi: net: add unix socket type support to netdev backend
Date: Tue, 13 Sep 2022 11:24:31 +0100

On Tue, 13 Sep 2022 08:39:46 +0200
Laurent Vivier <lvivier@redhat.com> wrote:

> "-netdev socket" only supports inet sockets.
> 
> It's not a complex task to add support for unix sockets, but
> the socket netdev parameters are not defined to manage well unix
> socket parameters.
> 
> As discussed in:
> 
>   "socket.c added support for unix domain socket datagram transport"
>   
> https://lore.kernel.org/qemu-devel/1C0E1BC5-904F-46B0-8044-68E43E67BE60@gmail.com/
> 
> This series adds support of unix socket type using SocketAddress QAPI 
> structure.
> 
> Two new netdev backends, "stream" and "dgram" are added, that are barely a 
> copy of "socket"
> backend but they use the SocketAddress QAPI to provide socket parameters.
> And then they also implement unix sockets (TCP and UDP).

For the series,

Tested-by: Stefano Brivio <sbrivio@redhat.com>

...specifically, same as v7, the stream-oriented AF_UNIX support, with
passt (https://passt.top) and its test suite, running qemu (x86_64 KVM,
and armv6l, armv7l, aarch64, ppc64, ppc64le, s390x TCG) with something
on the lines of:

  -device virtio-net-pci,netdev=socket0 -netdev 
stream,id=socket0,server=off,addr.type=unix,addr.path=...

-- 
Stefano




reply via email to

[Prev in Thread] Current Thread [Next in Thread]