]> git.proxmox.com Git - mirror_qemu.git/commit
nbd: Shutdown socket before closing.
authorHani Benhabiles <kroosec@gmail.com>
Sat, 31 May 2014 21:39:42 +0000 (22:39 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 30 Jun 2014 10:50:12 +0000 (12:50 +0200)
commit27e5eae4577316f7e86a56eb7363d4e78f79e3e5
tree0b9cb3ee01251283aa32f48f19491240a80aafeb
parent8c5d1abbb79193dca8e4823ef53d8d1e650362ae
nbd: Shutdown socket before closing.

This forces finishing data sending to client before closing the socket like in
exports listing or replying with NBD_REP_ERR_UNSUP cases.

Signed-off-by: Hani Benhabiles <kroosec@gmail.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
blockdev-nbd.c
qemu-nbd.c