Re: [Qemu-devel] [PATCH] pseries: Fix compat_pvr on reset

2019-08-28 Thread Greg Kurz
On Mon, 26 Aug 2019 11:08:12 +0200 Laurent Vivier wrote: > If we a migrate P8 machine to a P9 machine, the migration fails on > destination with: > > error while loading state for instance 0x1 of device 'cpu' > load of migration failed: Operation not permitted > > This is caused because the

Re: [Qemu-devel] [PATCH] pseries: Fix compat_pvr on reset

2019-08-26 Thread David Gibson
On Mon, Aug 26, 2019 at 11:08:12AM +0200, Laurent Vivier wrote: > If we a migrate P8 machine to a P9 machine, the migration fails on > destination with: > > error while loading state for instance 0x1 of device 'cpu' > load of migration failed: Operation not permitted > > This is caused becaus

Re: [Qemu-devel] [PATCH] pseries: Fix compat_pvr on reset

2019-08-26 Thread David Gibson
On Mon, Aug 26, 2019 at 11:08:12AM +0200, Laurent Vivier wrote: > If we a migrate P8 machine to a P9 machine, the migration fails on > destination with: > > error while loading state for instance 0x1 of device 'cpu' > load of migration failed: Operation not permitted > > This is caused becaus

[Qemu-devel] [PATCH] pseries: Fix compat_pvr on reset

2019-08-26 Thread Laurent Vivier
If we a migrate P8 machine to a P9 machine, the migration fails on destination with: error while loading state for instance 0x1 of device 'cpu' load of migration failed: Operation not permitted This is caused because the compat_pvr field is only present for the first CPU. Originally, spapr_ma