Re: socket.c added support for unix domain socket datagram transport

2021-04-29 Thread Markus Armbruster
Daniel P. Berrangé writes: > On Tue, Apr 27, 2021 at 11:52:29PM +0200, Stefano Brivio wrote: >> On Mon, 26 Apr 2021 13:56:40 +0100 >> Daniel P. Berrangé wrote: >> > The pain we're feeling is largely because the design of the net >> > option syntax is one of the oldest parts of QEMU and has only

Re: socket.c added support for unix domain socket datagram transport

2021-04-28 Thread Daniel P . Berrangé
On Tue, Apr 27, 2021 at 11:52:29PM +0200, Stefano Brivio wrote: > On Mon, 26 Apr 2021 13:56:40 +0100 > Daniel P. Berrangé wrote: > > The pain we're feeling is largely because the design of the net > > option syntax is one of the oldest parts of QEMU and has only > > been very partially improved up

Re: socket.c added support for unix domain socket datagram transport

2021-04-27 Thread Stefano Brivio
On Mon, 26 Apr 2021 13:56:40 +0100 Daniel P. Berrangé wrote: > On Fri, Apr 23, 2021 at 06:54:08PM +0200, Stefano Brivio wrote: > > On Fri, 23 Apr 2021 17:21:38 +0100 > > Daniel P. Berrangé wrote: > > > The current IP socket impl for the net socket backend uses SOCK_DGRAM, > > > so from a consi

Re: socket.c added support for unix domain socket datagram transport

2021-04-27 Thread Stefano Brivio
On Mon, 26 Apr 2021 13:14:48 +0200 Ralph Schmieder wrote: > > On Apr 23, 2021, at 18:39, Stefano Brivio > > wrote: > > > > [...] > > > > Okay, so it doesn't seem to fit your case, but this specific point > > is where you actually have a small advantage using a stream-oriented > > socket. If you

Re: socket.c added support for unix domain socket datagram transport

2021-04-26 Thread Daniel P . Berrangé
On Fri, Apr 23, 2021 at 06:54:08PM +0200, Stefano Brivio wrote: > On Fri, 23 Apr 2021 17:21:38 +0100 > Daniel P. Berrangé wrote: > > The current IP socket impl for the net socket backend uses SOCK_DGRAM, > > so from a consistency POV it feels sensible todo the same for UNIX > > sockets too. > > T

Re: socket.c added support for unix domain socket datagram transport

2021-04-26 Thread Ralph Schmieder
> On Apr 23, 2021, at 18:54, Stefano Brivio wrote: > > On Fri, 23 Apr 2021 17:21:38 +0100 > Daniel P. Berrangé wrote: > >> On Fri, Apr 23, 2021 at 05:29:40PM +0200, Stefano Brivio wrote: >>> Hi Ralph, >>> >>> On Fri, 23 Apr 2021 08:56:48 +0200 >>> Ralph Schmieder wrote: >>> Hey... n

Re: socket.c added support for unix domain socket datagram transport

2021-04-26 Thread Ralph Schmieder
> On Apr 23, 2021, at 18:39, Stefano Brivio wrote: > > On Fri, 23 Apr 2021 17:48:08 +0200 > Ralph Schmieder wrote: > >> Hi, Stefano... Thanks for the detailed response... inline >> Thanks, >> -ralph >> >> >>> On Apr 23, 2021, at 17:29, Stefano Brivio >>> wrote: >>> >>> Hi Ralph, >>> >>>

Re: socket.c added support for unix domain socket datagram transport

2021-04-23 Thread Stefano Brivio
On Fri, 23 Apr 2021 17:21:38 +0100 Daniel P. Berrangé wrote: > On Fri, Apr 23, 2021 at 05:29:40PM +0200, Stefano Brivio wrote: > > Hi Ralph, > > > > On Fri, 23 Apr 2021 08:56:48 +0200 > > Ralph Schmieder wrote: > > > > > Hey... new to this list. I was looking for a way to use Unix domain >

Re: socket.c added support for unix domain socket datagram transport

2021-04-23 Thread Stefano Brivio
On Fri, 23 Apr 2021 17:48:08 +0200 Ralph Schmieder wrote: > Hi, Stefano... Thanks for the detailed response... inline > Thanks, > -ralph > > > > On Apr 23, 2021, at 17:29, Stefano Brivio > > wrote: > > > > Hi Ralph, > > > > On Fri, 23 Apr 2021 08:56:48 +0200 > > Ralph Schmieder wrote: > >

Re: socket.c added support for unix domain socket datagram transport

2021-04-23 Thread Daniel P . Berrangé
On Fri, Apr 23, 2021 at 05:29:40PM +0200, Stefano Brivio wrote: > Hi Ralph, > > On Fri, 23 Apr 2021 08:56:48 +0200 > Ralph Schmieder wrote: > > > Hey... new to this list. I was looking for a way to use Unix domain > > sockets as a network transport between local VMs. > > > > I'm part of a tea

Re: socket.c added support for unix domain socket datagram transport

2021-04-23 Thread Ralph Schmieder
Hi, Stefano... Thanks for the detailed response... inline Thanks, -ralph > On Apr 23, 2021, at 17:29, Stefano Brivio wrote: > > Hi Ralph, > > On Fri, 23 Apr 2021 08:56:48 +0200 > Ralph Schmieder wrote: > >> Hey... new to this list. I was looking for a way to use Unix domain >> sockets as a

Re: socket.c added support for unix domain socket datagram transport

2021-04-23 Thread Stefano Brivio
Hi Ralph, On Fri, 23 Apr 2021 08:56:48 +0200 Ralph Schmieder wrote: > Hey... new to this list. I was looking for a way to use Unix domain > sockets as a network transport between local VMs. > > I'm part of a team where we run dozens if not hundreds of VMs on a > single compute instance which

Re: socket.c added support for unix domain socket datagram transport

2021-04-23 Thread Ralph Schmieder
> On Apr 23, 2021, at 11:16, Daniel P. Berrangé wrote: > > On Fri, Apr 23, 2021 at 08:56:48AM +0200, Ralph Schmieder wrote: >> Hey... new to this list. I was looking for a way to use Unix domain >> sockets as a network transport between local VMs. >> >> I'm part of a team where we run doze

Re: socket.c added support for unix domain socket datagram transport

2021-04-23 Thread Daniel P . Berrangé
On Fri, Apr 23, 2021 at 08:56:48AM +0200, Ralph Schmieder wrote: > Hey... new to this list. I was looking for a way to use Unix domain sockets > as a network transport between local VMs. > > I'm part of a team where we run dozens if not hundreds of VMs on a single > compute instance which are

socket.c added support for unix domain socket datagram transport

2021-04-22 Thread Ralph Schmieder
Hey... new to this list. I was looking for a way to use Unix domain sockets as a network transport between local VMs. I'm part of a team where we run dozens if not hundreds of VMs on a single compute instance which are highly interconnected. In the current implementation, I use UDP sockets (e