提交 0c81eaba 编写于 作者: J Jiri Denemark

vmware: Fix bogus CPU arch copy

上级 1dfa174a
...@@ -80,10 +80,7 @@ vmwareCapsInit(void) ...@@ -80,10 +80,7 @@ vmwareCapsInit(void)
if (VIR_ALLOC(cpu) < 0) if (VIR_ALLOC(cpu) < 0)
goto error; goto error;
if (!(cpu->arch = caps->host.arch)) { cpu->arch = caps->host.arch;
virReportOOMError();
goto error;
}
cpu->type = VIR_CPU_TYPE_HOST; cpu->type = VIR_CPU_TYPE_HOST;
if (!(data = cpuNodeData(cpu->arch)) if (!(data = cpuNodeData(cpu->arch))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册