Re: [Qemu-devel] [PATCH v6 5/8] Add domain socket communication for vhost-user backend

2014-01-15 Thread Michael S. Tsirkin
On Tue, Jan 14, 2014 at 07:14:38PM +0100, Antonios Motakis wrote: > > > > On Tue, Jan 14, 2014 at 12:10 PM, Michael S. Tsirkin wrote: > > On Mon, Jan 13, 2014 at 03:25:16PM +0100, Antonios Motakis wrote: > > Add structures for passing vhost-user messages over a unix domain > socket. >

Re: [Qemu-devel] [PATCH v6 5/8] Add domain socket communication for vhost-user backend

2014-01-14 Thread Antonios Motakis
On Tue, Jan 14, 2014 at 12:10 PM, Michael S. Tsirkin wrote: > On Mon, Jan 13, 2014 at 03:25:16PM +0100, Antonios Motakis wrote: > > Add structures for passing vhost-user messages over a unix domain socket. > > This is the equivalent of the existing vhost-kernel ioctls. > > > > Connect to the name

Re: [Qemu-devel] [PATCH v6 5/8] Add domain socket communication for vhost-user backend

2014-01-14 Thread Michael S. Tsirkin
On Mon, Jan 13, 2014 at 03:25:16PM +0100, Antonios Motakis wrote: > Add structures for passing vhost-user messages over a unix domain socket. > This is the equivalent of the existing vhost-kernel ioctls. > > Connect to the named unix domain socket. The system call sendmsg > is used for communicati

[Qemu-devel] [PATCH v6 5/8] Add domain socket communication for vhost-user backend

2014-01-13 Thread Antonios Motakis
Add structures for passing vhost-user messages over a unix domain socket. This is the equivalent of the existing vhost-kernel ioctls. Connect to the named unix domain socket. The system call sendmsg is used for communication. To be able to pass file descriptors between processes - we use SCM_RIGHT