vmware: Failures in cache info init are non-fatal

This is also not fatal on other drivers.

Signed-off-by: Rainer Müller <raimue@codingfarm.de>
This commit is contained in:
Rainer Müller 2018-04-14 11:25:43 +02:00 committed by John Ferlan
parent 84095e1ecc
commit ace6528ae1

View File

@ -33,6 +33,11 @@
#include "vmx.h" #include "vmx.h"
#include "vmware_conf.h" #include "vmware_conf.h"
#include "virstring.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, VIR_ENUM_IMPL(vmwareDriver, VMWARE_DRIVER_LAST,
"player", "player",
@ -69,7 +74,7 @@ vmwareCapsInit(void)
goto error; goto error;
if (virCapabilitiesInitCaches(caps) < 0) if (virCapabilitiesInitCaches(caps) < 0)
goto error; VIR_WARN("Failed to get host CPU cache info");
/* i686 guests are always supported */ /* i686 guests are always supported */
if ((guest = virCapabilitiesAddGuest(caps, if ((guest = virCapabilitiesAddGuest(caps,