[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] sheepdog: Set error when connection fails

From: Philippe Mathieu-Daudé
Subject: Re: [Qemu-devel] [PATCH] sheepdog: Set error when connection fails
Date: Thu, 20 Apr 2017 06:12:28 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 04/20/2017 01:00 AM, Fam Zheng wrote:
Signed-off-by: Fam Zheng <address@hidden>

Reviewed-by: Philippe Mathieu-Daudé <address@hidden>

 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 
     } else {
         fd = -EIO;
+        error_setg(errp, "Failed to connect to sheepdog server");

     return fd;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]