diff options
author | Sam Bobroff | 2017-08-31 08:38:46 +0200 |
---|---|---|
committer | David Gibson | 2017-09-08 01:30:55 +0200 |
commit | 7cca3e466eb0baa36d1cc29d5aeb5da74a260711 (patch) | |
tree | 0f438c8140d51fc127fa8b991bf94003e6f85741 /numa.c | |
parent | ppc: remove non implemented cpu models (diff) | |
download | qemu-7cca3e466eb0baa36d1cc29d5aeb5da74a260711.tar.gz qemu-7cca3e466eb0baa36d1cc29d5aeb5da74a260711.tar.xz qemu-7cca3e466eb0baa36d1cc29d5aeb5da74a260711.zip |
ppc: spapr: Move VCPU ID calculation into sPAPR
Move the calculation of a CPU's VCPU ID out of the generic PPC code
(ppc_cpu_realizefn()) and into sPAPR specific code
(spapr_cpu_core_realize()) where it belongs.
Unfortunately, due to the way things are ordered, we still need to
default the VCPU ID in ppc_cpu_realizfn() but at least doing that
doesn't require any interaction with sPAPR.
Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'numa.c')
0 files changed, 0 insertions, 0 deletions