[libvirt] [PATCH 2/2] sysinfo: Fix reports on arm

Michal Privoznik mprivozn at redhat.com
Tue May 12 16:23:56 UTC 2015


Due to a commit in kernel (155597223) it's 'processor' rather than
'Processor'. Fix our parser too.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 src/util/virsysinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/virsysinfo.c b/src/util/virsysinfo.c
index 8bb17f0..fb8cb2c 100644
--- a/src/util/virsysinfo.c
+++ b/src/util/virsysinfo.c
@@ -289,7 +289,7 @@ virSysinfoParseProcessor(const char *base, virSysinfoDefPtr ret)
     virSysinfoProcessorDefPtr processor;
     char *processor_type = NULL;
 
-    if (!(tmp_base = strstr(base, "Processor")))
+    if (!(tmp_base = strstr(base, "processor")))
         return 0;
 
     base = tmp_base;
-- 
2.3.6




More information about the libvir-list mailing list