All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] sheepdog: Set error when connection fails
@ 2017-04-20  4:00 Fam Zheng
  2017-04-20  9:12 ` Philippe Mathieu-Daudé
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Fam Zheng @ 2017-04-20  4:00 UTC (permalink / raw)
  To: qemu-devel
  Cc: sheepdog, qemu-block, Hitoshi Mitake, Kevin Wolf, Max Reitz,
	Jeff Cody, Liu Yuan

Signed-off-by: Fam Zheng <famz@redhat.com>
---
 block/sheepdog.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/block/sheepdog.c b/block/sheepdog.c
index fb9203e..7e889ee 100644
--- a/block/sheepdog.c
+++ b/block/sheepdog.c
@@ -608,6 +608,7 @@ static int connect_to_sdog(BDRVSheepdogState *s, Error **errp)
         qemu_set_nonblock(fd);
     } else {
         fd = -EIO;
+        error_setg(errp, "Failed to connect to sheepdog server");
     }
 
     return fd;
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-04-21 10:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-20  4:00 [Qemu-devel] [PATCH] sheepdog: Set error when connection fails Fam Zheng
2017-04-20  9:12 ` Philippe Mathieu-Daudé
2017-04-20 15:21 ` Jeff Cody
2017-04-20 15:23 ` Jeff Cody
2017-04-20 15:30 ` Daniel P. Berrange
2017-04-20 15:42   ` Jeff Cody
2017-04-20 15:45     ` Daniel P. Berrange
2017-04-20 20:32   ` Kevin Wolf
2017-04-20 20:40     ` Jeff Cody
2017-04-21  0:19     ` Fam Zheng
2017-04-21  5:43     ` Markus Armbruster
2017-04-21  8:31       ` Daniel P. Berrange
2017-04-21  8:50         ` Fam Zheng
2017-04-21 10:06           ` Daniel P. Berrange

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.