summaryrefslogtreecommitdiffstats
path: root/hw/ppc/pnv_core.c
diff options
context:
space:
mode:
authorGreg Kurz2017-06-08 15:42:41 +0200
committerDavid Gibson2017-06-09 04:12:34 +0200
commitad265631c0a0addc06ec3c4f133e746f4dcc872a (patch)
tree9fdf4cf7b3005fa6311613c536d2a1a5a70dca80 /hw/ppc/pnv_core.c
parenthw/cpu: core.c can be compiled as common object (diff)
downloadqemu-ad265631c0a0addc06ec3c4f133e746f4dcc872a.tar.gz
qemu-ad265631c0a0addc06ec3c4f133e746f4dcc872a.tar.xz
qemu-ad265631c0a0addc06ec3c4f133e746f4dcc872a.zip
xics: introduce macros for ICP/ICS link properties
These properties are part of the XICS API. They deserve to appear explicitely in the XICS header file. Signed-off-by: Greg Kurz <groug@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc/pnv_core.c')
-rw-r--r--hw/ppc/pnv_core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/ppc/pnv_core.c b/hw/ppc/pnv_core.c
index e8a9a94d5a..0b6e72950c 100644
--- a/hw/ppc/pnv_core.c
+++ b/hw/ppc/pnv_core.c
@@ -121,7 +121,8 @@ static void pnv_core_realize_child(Object *child, XICSFabric *xi, Error **errp)
obj = object_new(TYPE_PNV_ICP);
object_property_add_child(OBJECT(cpu), "icp", obj, &error_abort);
object_unref(obj);
- object_property_add_const_link(obj, "xics", OBJECT(xi), &error_abort);
+ object_property_add_const_link(obj, ICP_PROP_XICS, OBJECT(xi),
+ &error_abort);
object_property_set_bool(obj, true, "realized", &local_err);
if (local_err) {
error_propagate(errp, local_err);