[libvirt] [PATCH 5/5] storage: qemu-img: change INFO to DEBUG

Ján Tomko jtomko at redhat.com
Mon Feb 18 14:27:58 UTC 2013


For really old qemu-img binaries which do not support specifying
the format of the backing file, display a DEBUG message instead of
INFO that this can't be done.
---
 src/storage/storage_backend.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/storage/storage_backend.c b/src/storage/storage_backend.c
index b32c7ef..460b792 100644
--- a/src/storage/storage_backend.c
+++ b/src/storage/storage_backend.c
@@ -807,8 +807,8 @@ virStorageBackendCreateQemuImgCmd(virConnectPtr conn,
             break;
 
         default:
-            VIR_INFO("Unable to set backing store format for %s with %s",
-                     vol->target.path, create_tool);
+            VIR_DEBUG("Unable to set backing store format for %s with %s",
+                      vol->target.path, create_tool);
 
             if (do_encryption)
                 virCommandAddArg(cmd, "-e");
-- 
1.7.12.4




More information about the libvir-list mailing list