mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
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:
parent
84095e1ecc
commit
ace6528ae1
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user