[Libguestfs] [nbdkit PATCH v2 3/6] protocol: Support ESHUTDOWN error

Richard W.M. Jones rjones at redhat.com
Thu Jan 26 10:08:24 UTC 2017


On Wed, Jan 25, 2017 at 08:42:33PM -0600, Eric Blake wrote:
> The NBD specification was clarified to state that the server can
> send ESHUTDOWN at any time that it wants to inform the client
> that the server is about to close the connection and that all
> further commands will fail, to give the client a chance to first
> send NBD_CMD_DISC for a clean shutdown.  While nbdkit does not
> (yet) directly send this errno, it is feasible that a plugin may
> want this error value preserved across the wire rather than
> converted to EINVAL.
> 
> Signed-off-by: Eric Blake <eblake at redhat.com>

I pushed up to this patch.

Thanks,

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list