summaryrefslogtreecommitdiff
path: root/hw/s390x
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2017-11-28 14:08:14 +0100
committerCornelia Huck <cohuck@redhat.com>2017-12-14 17:56:54 +0100
commit864c2512576ab4e0d84bda0481b15dd1820d43de (patch)
tree68993ad0a72da0e9cf3861161f051e346cc757c1 /hw/s390x
parentd69969e55f2187188c3d2a0ea9c6be29631358fb (diff)
downloadqemu-864c2512576ab4e0d84bda0481b15dd1820d43de.tar.gz
s390x/css: attach css bridge
Logically, the css bridge should be attached to the machine. Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: David Hildenbrand <david@redhat.com> Tested-by: Bjoern Walk <bwalk@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/s390x')
-rw-r--r--hw/s390x/css-bridge.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/s390x/css-bridge.c b/hw/s390x/css-bridge.c
index a91a237f37..a02d708239 100644
--- a/hw/s390x/css-bridge.c
+++ b/hw/s390x/css-bridge.c
@@ -99,6 +99,8 @@ VirtualCssBus *virtual_css_bus_init(void)
/* Create bridge device */
dev = qdev_create(NULL, TYPE_VIRTUAL_CSS_BRIDGE);
+ object_property_add_child(qdev_get_machine(), TYPE_VIRTUAL_CSS_BRIDGE,
+ OBJECT(dev), NULL);
qdev_init_nofail(dev);
/* Create bus on bridge device */