Re: [Qemu-devel] [PATCH 1/2] spapr_cpu_core: migrate per-CPU data

2018-06-18 Thread David Gibson
On Tue, Jun 19, 2018 at 07:41:24AM +0200, Greg Kurz wrote: > On Tue, 19 Jun 2018 10:09:05 +1000 > David Gibson wrote: > > > On Mon, Jun 18, 2018 at 02:26:35PM +0200, Greg Kurz wrote: > > > A per-CPU machine data pointer was recently added to PowerPCCPU. The > > > motivation is to to hide platform

Re: [Qemu-devel] [PATCH 1/2] spapr_cpu_core: migrate per-CPU data

2018-06-18 Thread Greg Kurz
On Tue, 19 Jun 2018 10:09:05 +1000 David Gibson wrote: > On Mon, Jun 18, 2018 at 02:26:35PM +0200, Greg Kurz wrote: > > A per-CPU machine data pointer was recently added to PowerPCCPU. The > > motivation is to to hide platform specific details from the core CPU > > code. This per-CPU data can hol

Re: [Qemu-devel] [PATCH 1/2] spapr_cpu_core: migrate per-CPU data

2018-06-18 Thread David Gibson
On Mon, Jun 18, 2018 at 02:26:35PM +0200, Greg Kurz wrote: > A per-CPU machine data pointer was recently added to PowerPCCPU. The > motivation is to to hide platform specific details from the core CPU > code. This per-CPU data can hold state which is revelant to the guest > though, eg, Virtual Proc

[Qemu-devel] [PATCH 1/2] spapr_cpu_core: migrate per-CPU data

2018-06-18 Thread Greg Kurz
A per-CPU machine data pointer was recently added to PowerPCCPU. The motivation is to to hide platform specific details from the core CPU code. This per-CPU data can hold state which is revelant to the guest though, eg, Virtual Processor Areas, and we whould migrate this state. This patch adds the