aboutsummaryrefslogtreecommitdiff
path: root/memory_mapping.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>2015-11-23 13:03:08 +0100
committerCornelia Huck <cornelia.huck@de.ibm.com>2016-01-27 15:34:47 +0100
commit8b638c43afa8d756d803a0ef6ef42213d612984f (patch)
tree324fd5fee3f12a7312cbd14237e5e48d9e583d83 /memory_mapping.c
parent52c6cfb74908060c3d209fa4c9b2a62c3ff76ff2 (diff)
downloadqemu-8b638c43afa8d756d803a0ef6ef42213d612984f.zip
qemu-8b638c43afa8d756d803a0ef6ef42213d612984f.tar.gz
qemu-8b638c43afa8d756d803a0ef6ef42213d612984f.tar.bz2
s390x/sclp: add device to the sysbus in sclp_realize
The init of a device should have no side effects. Therefore move registering of the event facility into the realize function, so multiple instances of the SCLP device can be created e.g. for introspection. Add some more detail as to why we have to add it to the sysbus at all. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'memory_mapping.c')
0 files changed, 0 insertions, 0 deletions