Re: [Qemu-devel] [PATCH v5 4/7] Add domain socket communication for vhost-user backend

2014-01-10 Thread Antonios Motakis
On Thu, Jan 9, 2014 at 4:31 PM, Michael S. Tsirkin wrote: > On Thu, Jan 09, 2014 at 03:59:58PM +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

Re: [Qemu-devel] [PATCH v5 4/7] Add domain socket communication for vhost-user backend

2014-01-09 Thread Michael S. Tsirkin
On Thu, Jan 09, 2014 at 03:59:58PM +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 v5 4/7] Add domain socket communication for vhost-user backend

2014-01-09 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