mirror of https://gitee.com/openkylin/libvirt.git
vz: missing pieces for fd885a06
for vz driver
This commit is contained in:
parent
6a6f6b91e0
commit
62d6de46fd
|
@ -134,7 +134,7 @@ vzBuildCapabilities(void)
|
|||
goto error;
|
||||
|
||||
if (!(caps->host.cpu = virCPUGetHost(caps->host.arch, VIR_CPU_TYPE_HOST,
|
||||
&nodeinfo, NULL, 0)))
|
||||
&nodeinfo, NULL)))
|
||||
goto error;
|
||||
|
||||
if (virCapabilitiesAddHostMigrateTransport(caps, "vzmigr") < 0)
|
||||
|
@ -957,7 +957,7 @@ vzConnectBaselineCPU(virConnectPtr conn,
|
|||
if (!(cpus = virCPUDefListParse(xmlCPUs, ncpus, VIR_CPU_TYPE_HOST)))
|
||||
goto cleanup;
|
||||
|
||||
if (!(cpu = cpuBaseline(cpus, ncpus, NULL, 0, false)))
|
||||
if (!(cpu = cpuBaseline(cpus, ncpus, NULL, false)))
|
||||
goto cleanup;
|
||||
|
||||
if ((flags & VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES) &&
|
||||
|
|
Loading…
Reference in New Issue