vmware: Fix bogus CPU arch copy

This commit is contained in:
Jiri Denemark 2013-07-22 00:15:02 +02:00
parent 1dfa174ad2
commit 0c81eaba9e

View File

@ -80,10 +80,7 @@ vmwareCapsInit(void)
if (VIR_ALLOC(cpu) < 0)
goto error;
if (!(cpu->arch = caps->host.arch)) {
virReportOOMError();
goto error;
}
cpu->arch = caps->host.arch;
cpu->type = VIR_CPU_TYPE_HOST;
if (!(data = cpuNodeData(cpu->arch))