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