David Gibson 7388efafc2 target/ppc, spapr: Move VPA information to machine_data
CPUPPCState currently contains a number of fields containing the state of
the VPA.  The VPA is a PAPR specific concept covering several guest/host
shared memory areas used to communicate some information with the
hypervisor.

As a PAPR concept this is really machine specific information, although it
is per-cpu, so it doesn't really belong in the core CPU state structure.

There's also other information that's per-cpu, but platform/machine
specific.  So create a (void *)machine_data in PowerPCCPU which can be
used by the machine to locate per-cpu data.  Intialization, lifetime and
cleanup of machine_data is entirely up to the machine type.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Tested-by: Greg Kurz <groug@kaod.org>
2018-06-16 16:32:50 +10:00
..
2016-10-04 13:28:07 +01:00
2017-01-27 18:07:59 +01:00
2016-05-18 15:04:27 +03:00
2013-04-08 18:13:10 +02:00
2018-02-09 05:05:11 +01:00
2018-05-23 03:14:40 +03:00
2018-02-09 05:05:11 +01:00
2018-06-04 10:15:16 +01:00
2018-02-09 05:05:11 +01:00
2017-01-27 18:07:59 +01:00
2018-06-01 14:15:10 +02:00
2017-06-01 18:49:22 +02:00
2013-04-08 18:13:10 +02:00