mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
cpu: Don't log CPU models in cpuBaselineXML
They are logged in cpuBaseline anyway. Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
50234e4eaf
commit
7816de498b
@ -526,18 +526,12 @@ cpuBaselineXML(const char **xmlCPUs,
|
|||||||
virCPUDefPtr *cpus = NULL;
|
virCPUDefPtr *cpus = NULL;
|
||||||
virCPUDefPtr cpu = NULL;
|
virCPUDefPtr cpu = NULL;
|
||||||
char *cpustr = NULL;
|
char *cpustr = NULL;
|
||||||
size_t i;
|
|
||||||
|
|
||||||
VIR_DEBUG("ncpus=%u, nmodels=%u", ncpus, nmodels);
|
VIR_DEBUG("ncpus=%u, nmodels=%u", ncpus, nmodels);
|
||||||
|
|
||||||
virCheckFlags(VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES |
|
virCheckFlags(VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES |
|
||||||
VIR_CONNECT_BASELINE_CPU_MIGRATABLE, NULL);
|
VIR_CONNECT_BASELINE_CPU_MIGRATABLE, NULL);
|
||||||
|
|
||||||
if (models) {
|
|
||||||
for (i = 0; i < nmodels; i++)
|
|
||||||
VIR_DEBUG("models[%zu]=%s", i, NULLSTR(models[i]));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!(cpus = virCPUDefListParse(xmlCPUs, ncpus, VIR_CPU_TYPE_HOST)))
|
if (!(cpus = virCPUDefListParse(xmlCPUs, ncpus, VIR_CPU_TYPE_HOST)))
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user