summary refs log tree commit diff stats
path: root/hw/core/qdev-properties.c
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2017-06-07 19:16:52 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2017-06-08 14:38:27 +1000
commit67b544d65f92b9987bc05b9da7e6269af48f1b69 (patch)
tree0abeffd9da88b4542a0ef3aeb7b3b49a90b7ade8 /hw/core/qdev-properties.c
parent798083361950ec3fed946bbcf22c924ef820e45e (diff)
downloadfocaccia-qemu-67b544d65f92b9987bc05b9da7e6269af48f1b69.tar.gz
focaccia-qemu-67b544d65f92b9987bc05b9da7e6269af48f1b69.zip
pnv_core: drop reference on ICPState object during CPU realization
Similarly to what was done to spapr with commit 249127d0dfeb, this patch
ensures that we don't keep an extra reference on the ICPState object. Also
since the object was just created and not reparented yet, the call to
object_property_add_child() should never fail: let's pass &error_abort to
make this clear.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/core/qdev-properties.c')
0 files changed, 0 insertions, 0 deletions