render / rpms / libvirt

Forked from rpms/libvirt 10 months ago
Clone
3e5111
From 12fcf8798007a7a74b6aaa5e2bb632f21ada9a0a Mon Sep 17 00:00:00 2001
3e5111
Message-Id: <12fcf8798007a7a74b6aaa5e2bb632f21ada9a0a@dist-git>
3e5111
From: Peter Krempa <pkrempa@redhat.com>
3e5111
Date: Tue, 20 Jun 2017 10:22:35 +0200
3e5111
Subject: [PATCH] util: storage: Output parsed network backing store string to
3e5111
 debug log
3e5111
3e5111
(cherry picked from commit 236e1f7e8caf602f2c18525652b13f7b9ede4431)
3e5111
3e5111
https://bugzilla.redhat.com/show_bug.cgi?id=1461638
3e5111
3e5111
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
3e5111
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
3e5111
---
3e5111
 src/util/virstoragefile.c | 2 ++
3e5111
 1 file changed, 2 insertions(+)
3e5111
3e5111
diff --git a/src/util/virstoragefile.c b/src/util/virstoragefile.c
3e5111
index a51622affe..6427c2b24a 100644
3e5111
--- a/src/util/virstoragefile.c
3e5111
+++ b/src/util/virstoragefile.c
3e5111
@@ -3234,6 +3234,8 @@ virStorageSourceNewFromBackingAbsolute(const char *path)
3e5111
     } else {
3e5111
         ret->type = VIR_STORAGE_TYPE_NETWORK;
3e5111
 
3e5111
+        VIR_DEBUG("parsing backing store string: '%s'", path);
3e5111
+
3e5111
         /* handle URI formatted backing stores */
3e5111
         if ((json = STRSKIP(path, "json:")))
3e5111
             rc = virStorageSourceParseBackingJSON(ret, json);
3e5111
-- 
3e5111
2.13.1
3e5111