pnv/xive: Use device_class_set_parent_realize()
commit0da41d3c5af7897e742c2fa4f6a5c5609b86c493
authorGreg Kurz <groug@kaod.org>
Mon, 6 Jan 2020 14:56:36 +0000 (6 15:56 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 8 Jan 2020 00:01:59 +0000 (8 11:01 +1100)
tree22d98f3916e9eb18bffc554e02b4dd1e52efa9f6
parent245cdb7f547db0a99fb5f4847f929a508cf82351
pnv/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>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20200106145645.4539-4-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/pnv_xive.c
include/hw/ppc/pnv_xive.h