« Previous | Next » 

Revision cb7cf0e3

IDcb7cf0e3f471143136afb2ad1ff65890a978adc6

Added by Ryota Ozaki almost 10 years ago

qemu-nbd: Improve error reporting

- use err(3) instead of errx(3) if errno is available
to report why failed
- let fail prior to daemon(3) if opening a nbd file
is likely to fail after daemonizing to avoid silent
failure exit
- add missing 'ret = 1' when unix_socket_outgoing failed

Signed-off-by: Ryota Ozaki <>
Signed-off-by: Kevin Wolf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences