aboutsummaryrefslogtreecommitdiff
path: root/hw/nvram
diff options
context:
space:
mode:
authorSam Bobroff <sam.bobroff@au1.ibm.com>2017-08-31 16:38:46 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2017-09-08 09:30:55 +1000
commit7cca3e466eb0baa36d1cc29d5aeb5da74a260711 (patch)
tree0f438c8140d51fc127fa8b991bf94003e6f85741 /hw/nvram
parentaef779605779579afbafffaba1e3a06ea89c3bdd (diff)
downloadqemu-7cca3e466eb0baa36d1cc29d5aeb5da74a260711.zip
qemu-7cca3e466eb0baa36d1cc29d5aeb5da74a260711.tar.gz
qemu-7cca3e466eb0baa36d1cc29d5aeb5da74a260711.tar.bz2
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 'hw/nvram')
0 files changed, 0 insertions, 0 deletions