On Thu, Jun 14, 2018 at 11:04:39AM +1000, David Gibson wrote: > It's moderately common for a machine type to need to keep track of > information that is specific to the platform it implements, but > per-cpu. > > While it could keep such information inside the MachineState, this > makes lookup from the CPUState awkward. So, this series adds a > standard way to stash machine-specific per-cpu information using a > void pointer in the PowerPCCPU object. The machine is responsible for > alloc()ing, free()ing and (if applicable) migrating this state. > > The meat of the series is the last two patches. The first 5 clean up > a number of minor uglies I encountered while implementing.
Oops, realized 7/7 is totally broken on a KVM build. I'll send a new spin. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature