nbd: move socket wrappers to qemu-nbd
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 17 Feb 2014 13:43:51 +0000 (14:43 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 21 Feb 2014 20:02:23 +0000 (21:02 +0100)
commit537b41f5013e1951fa15e8f18855b18d76124ce4
tree88f37b2de43b5b34e0b9769683dc5ec167e22fa2
parentc06b72781dc6dff3f1e8209b7280ff4650eb6f36
nbd: move socket wrappers to qemu-nbd

qemu-nbd is one of the few valid users of qerror_report_err.  Move
the error-reporting socket wrappers there.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
include/block/nbd.h
nbd.c
qemu-nbd.c