OSDN Git Service

spapr: initialize VSMT before initializing the IRQ backend
authorCédric Le Goater <clg@kaod.org>
Wed, 5 Dec 2018 23:22:26 +0000 (00:22 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 20 Dec 2018 22:28:39 +0000 (09:28 +1100)
commit482969d680b7ae9c903198db2b7ff1984361e0a0
tree7ef9a1a4593a2075c4e334bc4f22ceaa433ba24e
parente4ddaac67f1fbdeea207fe28d71dca744832377b
spapr: initialize VSMT before initializing the IRQ backend

We will need to use xics_max_server_number() to create the sPAPRXive
object modeling the interrupt controller of the machine which is
created before the CPUs.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
[dwg: Fix style nit]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c