At Wed, 16 Jan 2013 15:21:09 +0100,
Stefan Hajnoczi wrote:
>
> On Tue, Jan 15, 2013 at 11:12:40PM +0900, MORITA Kazutaka wrote:
> > +static int set_nodelay(int fd)
> > +{
> > +int opt = 1;
> > +return setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, (char *)&opt,
> > sizeof(opt));
> > +}
> > +
>
On Tue, Jan 15, 2013 at 11:12:40PM +0900, MORITA Kazutaka wrote:
> +static int set_nodelay(int fd)
> +{
> +int opt = 1;
> +return setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, (char *)&opt,
> sizeof(opt));
> +}
> +
Please split this into a separate patch that moves the function to
util/osdep.c
This patch adds support for a unix domain socket for a connection
between qemu and local sheepdog server. You can use the unix domain
socket with the following syntax like NBD driver:
$ qemu sheepdog:unix::
Signed-off-by: MORITA Kazutaka
---
block/sheepdog.c | 153 ---