[libvirt PATCH 1/2] util: Make one debug message nicer

Martin Kletzander mkletzan at redhat.com
Thu Jul 15 12:04:23 UTC 2021


This was bothering someone as the debug message looked like there was an issue
despite it being just a debug message.  Change it to what is actually happening
and why the name is being skipped.

Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
 src/util/virresctrl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/virresctrl.c b/src/util/virresctrl.c
index a7d36f492cd2..2a3bcda6f59b 100644
--- a/src/util/virresctrl.c
+++ b/src/util/virresctrl.c
@@ -542,7 +542,7 @@ virResctrlGetCacheInfo(virResctrlInfo *resctrl,
 
         type = virResctrlTypeFromString(endptr);
         if (type < 0) {
-            VIR_DEBUG("Cannot parse resctrl cache info type '%s'", endptr);
+            VIR_DEBUG("Ignoring resctrl cache info with suffix '%s'", endptr);
             continue;
         }
 
-- 
2.32.0




More information about the libvir-list mailing list