Re: [Qemu-devel] [PATCH v5 5/7] Add vhost-user calls implementation

2014-01-10 Thread Antonios Motakis
On Thu, Jan 9, 2014 at 4:47 PM, Michael S. Tsirkin wrote: > On Thu, Jan 09, 2014 at 03:59:59PM +0100, Antonios Motakis wrote: > > Each ioctl request of vhost-kernel has a vhost-user message equivalent, > > which is sent it over the control socket. > > > > The general approach is to copy the data

Re: [Qemu-devel] [PATCH v5 5/7] Add vhost-user calls implementation

2014-01-09 Thread Michael S. Tsirkin
On Thu, Jan 09, 2014 at 03:59:59PM +0100, Antonios Motakis wrote: > Each ioctl request of vhost-kernel has a vhost-user message equivalent, > which is sent it over the control socket. > > The general approach is to copy the data from the supplied argument > pointer to a designated field in the mes

[Qemu-devel] [PATCH v5 5/7] Add vhost-user calls implementation

2014-01-09 Thread Antonios Motakis
Each ioctl request of vhost-kernel has a vhost-user message equivalent, which is sent it over the control socket. The general approach is to copy the data from the supplied argument pointer to a designated field in the message. If a file descriptor is to be passed it should be placed also in the f