summaryrefslogtreecommitdiff
path: root/buffered_file.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-11-04 15:51:22 +0100
committerKevin Wolf <kwolf@redhat.com>2011-11-11 14:02:58 +0100
commitc1f8fdc3620781c87a0bc519edb691af975c6356 (patch)
tree29d5f07d5ab8c3c0a5b383a3611777b19fe33f17 /buffered_file.h
parenta517e88baa9bef2b5c54a11d62b2b2ab2a5c4ab7 (diff)
downloadqemu-c1f8fdc3620781c87a0bc519edb691af975c6356.tar.gz
qemu-nbd: print error messages from the daemon through a pipe
In order to get nice error messages, keep the qemu-nbd process running until before issuing NBD_DO_IT and connected to the daemon with a pipe. This lets the qemu-nbd process relay error messages from the daemon and exit with a nonzero status if appropriate. Suggested-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'buffered_file.h')
0 files changed, 0 insertions, 0 deletions