spapr/xive: Use device_class_set_parent_realize()
commit6cc64796f2b031186b6ae9c6c5932ea972a8c6cd
authorGreg Kurz <groug@kaod.org>
Thu, 19 Dec 2019 18:11:47 +0000 (19 19:11 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 8 Jan 2020 00:01:59 +0000 (8 11:01 +1100)
treeb7a42406ff37b203ccad52dc99e88395140dd16c
parent068fe58cf93030fd96b7659bfc7626867ecd518a
spapr/xive: Use device_class_set_parent_realize()

The XIVE router base class currently inherits an empty realize hook
from the sysbus device base class, but it will soon implement one
of its own to perform some sanity checks. Do the preliminary plumbing
to have it called.

Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20191219181155.32530-6-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/spapr_xive.c
include/hw/ppc/spapr_xive.h