]> xenbits.xensource.com Git - libvirt.git/commitdiff
vmware: Failures in cache info init are non-fatal
authorRainer Müller <raimue@codingfarm.de>
Sat, 14 Apr 2018 09:25:43 +0000 (11:25 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 17 Apr 2018 17:11:29 +0000 (13:11 -0400)
This is also not fatal on other drivers.

Signed-off-by: Rainer Müller <raimue@codingfarm.de>
src/vmware/vmware_conf.c

index 891d9a47f0b46f9b117b41f86efe69a237f14b8f..b9f18e6ac464272bf071a8ecf605576de58abdfb 100644 (file)
 #include "vmx.h"
 #include "vmware_conf.h"
 #include "virstring.h"
+#include "virlog.h"
+
+#define VIR_FROM_THIS VIR_FROM_VMWARE
+
+VIR_LOG_INIT("vmware.vmware_conf");
 
 VIR_ENUM_IMPL(vmwareDriver, VMWARE_DRIVER_LAST,
               "player",
@@ -69,7 +74,7 @@ vmwareCapsInit(void)
         goto error;
 
     if (virCapabilitiesInitCaches(caps) < 0)
-        goto error;
+        VIR_WARN("Failed to get host CPU cache info");
 
     /* i686 guests are always supported */
     if ((guest = virCapabilitiesAddGuest(caps,