Re: [Qemu-devel] [PATCH] spapr: Set compat mode in spapr_core_plug()

2019-08-28 Thread David Gibson
On Wed, Aug 28, 2019 at 07:20:53PM +0200, Greg Kurz wrote: > A recent change in spapr_machine_reset() showed that resetting the compat > mode in spapr_machine_reset() for the boot vCPU and in spapr_cpu_reset() > for all other vCPUs was fragile. The fix was thus to reset the compat mode > for all vC

[Qemu-devel] [PATCH] spapr: Set compat mode in spapr_core_plug()

2019-08-28 Thread Greg Kurz
A recent change in spapr_machine_reset() showed that resetting the compat mode in spapr_machine_reset() for the boot vCPU and in spapr_cpu_reset() for all other vCPUs was fragile. The fix was thus to reset the compat mode for all vCPUs in spapr_machine_reset(), but we still have to propagate it to