Re: [PATCH for-6.0 3/9] spapr: Fix pre-2.10 dummy ICP hack

2020-11-22 Thread David Gibson
On Sat, Nov 21, 2020 at 12:42:02AM +0100, Greg Kurz wrote: > This hack registers dummy VMState entries of ICPs in order to > support migration of old pseries machine types that used to > create all smp.max_cpus possible ICPs at machine init. > > Part of the work is to unregister the dummy entries

[PATCH for-6.0 3/9] spapr: Fix pre-2.10 dummy ICP hack

2020-11-20 Thread Greg Kurz
This hack registers dummy VMState entries of ICPs in order to support migration of old pseries machine types that used to create all smp.max_cpus possible ICPs at machine init. Part of the work is to unregister the dummy entries when plugging an actual vCPU core, and to register them back when