diff --git a/src/cpu/cpu_powerpc.c b/src/cpu/cpu_powerpc.c index 8bef6271fef40f6fa7b1ae270c841589169fd7e3..5e1a7b9c9220ef808041fb4ad4c96b5c418dac8e 100644 --- a/src/cpu/cpu_powerpc.c +++ b/src/cpu/cpu_powerpc.c @@ -605,7 +605,8 @@ PowerPCBaseline(virCPUDefPtr *cpus, goto error; } - base_model->data->ppc.pvr = model->data->ppc.pvr; + if (outputModel) + base_model->data->ppc.pvr = model->data->ppc.pvr; if (PowerPCDecode(cpu, base_model->data, models, nmodels, NULL) < 0) goto error;