Re: [RFC PATCH 2/6] qapi: net: add socket-ng netdev

2022-05-11 Thread Laurent Vivier
On 10/05/2022 23:24, Stefano Brivio wrote: ... I don't know if this is an issue, but I couldn't figure out the reason for this difference either: - with the old socket option, I can pass something like: -net socket,fd=5 -net nic,model=virtio and frames are sent to/received from socket

Re: [RFC PATCH 2/6] qapi: net: add socket-ng netdev

2022-05-10 Thread Stefano Brivio
On Mon, 9 May 2022 19:36:14 +0200 Laurent Vivier wrote: > Copied from socket netdev file and modified to use SocketAddress > to be able to introduce new features like unix socket. > > "udp" and "mcast" are squashed into dgram, multicast is detected > according to the IP address type. > "listen"

[RFC PATCH 2/6] qapi: net: add socket-ng netdev

2022-05-09 Thread Laurent Vivier
Copied from socket netdev file and modified to use SocketAddress to be able to introduce new features like unix socket. "udp" and "mcast" are squashed into dgram, multicast is detected according to the IP address type. "listen" and "connect" modes are changed to "server" and "client". As qemu_opt