From: Rainer Müller Date: Sat, 14 Apr 2018 09:25:43 +0000 (+0200) Subject: vmware: Failures in cache info init are non-fatal X-Git-Tag: v4.3.0-rc1~205 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ace6528ae1951bd488be26a677959e323af0c688;p=thirdparty%2Flibvirt.git vmware: Failures in cache info init are non-fatal This is also not fatal on other drivers. Signed-off-by: Rainer Müller --- diff --git a/src/vmware/vmware_conf.c b/src/vmware/vmware_conf.c index 891d9a47f0..b9f18e6ac4 100644 --- a/src/vmware/vmware_conf.c +++ b/src/vmware/vmware_conf.c @@ -33,6 +33,11 @@ #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,