]> Git Repo - qemu.git/commit
ppc: spapr: Move VCPU ID calculation into sPAPR
authorSam Bobroff <[email protected]>
Thu, 31 Aug 2017 06:38:46 +0000 (16:38 +1000)
committerDavid Gibson <[email protected]>
Thu, 7 Sep 2017 23:30:55 +0000 (09:30 +1000)
commit7cca3e466eb0baa36d1cc29d5aeb5da74a260711
tree0f438c8140d51fc127fa8b991bf94003e6f85741
parentaef779605779579afbafffaba1e3a06ea89c3bdd
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 <[email protected]>
Reviewed-by: Greg Kurz <[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/ppc/spapr_cpu_core.c
target/ppc/translate_init.c
This page took 0.024138 seconds and 4 git commands to generate.