mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
vmware: Fix bogus CPU arch copy
This commit is contained in:
parent
1dfa174ad2
commit
0c81eaba9e
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user