From: Jiri Denemark Date: Wed, 2 Jul 2025 14:05:05 +0000 (+0200) Subject: cpu: Show input CPU model names in debug log X-Git-Tag: v11.6.0-rc1~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=999d155b21b01229f7d553d6d3cc6dc43cf92ed9;p=thirdparty%2Flibvirt.git cpu: Show input CPU model names in debug log Signed-off-by: Jiri Denemark Reviewed-by: Michal Privoznik --- diff --git a/src/cpu/cpu.c b/src/cpu/cpu.c index 77afb7e9b3..233686485d 100644 --- a/src/cpu/cpu.c +++ b/src/cpu/cpu.c @@ -581,7 +581,7 @@ virCPUBaseline(virArch arch, virArchToString(arch), ncpus, models, features, migratable); if (cpus) { for (i = 0; i < ncpus; i++) - VIR_DEBUG("cpus[%zu]=%p", i, cpus[i]); + VIR_DEBUG("cpus[%zu]=%p (%s)", i, cpus[i], NULLSTR(cpus[i]->model)); } if (models) { for (i = 0; i < models->nmodels; i++)