nbd: treat EPIPE from NBD_DO_IT as success
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Nov 2011 14:51:18 +0000 (15:51 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 11 Nov 2011 13:02:58 +0000 (14:02 +0100)
commit90ceab01218272f7cc90fcf373adee5219ca7862
tree885360bdba04aebef0e70e24f785bafb47627087
parent02b7c87da0f1d395ecab20cbad0bcb66da4accd7
nbd: treat EPIPE from NBD_DO_IT as success

This can be seen with "qemu-nbd -v -c", which returns 1 instead of 0
when you disconnect with "qemu-nbd -d".

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
nbd.c