hw/s390x/s390-pci-bus: Convert sysbus init function to realize function
commitb576d582ea2b03f4eada186fff59308d22b40a6a
authorThomas Huth <thuth@redhat.com>
Tue, 2 Oct 2018 07:48:11 +0000 (2 09:48 +0200)
committerCornelia Huck <cohuck@redhat.com>
Thu, 4 Oct 2018 10:10:40 +0000 (4 12:10 +0200)
tree37d98f9cbcb6f1757858ba9ff99361d26654c459
parent74fbae31cfff10066f241a8909caecd1195df614
hw/s390x/s390-pci-bus: Convert sysbus init function to realize function

The SysBusDeviceClass->init() interface is considered as a legacy interface
and there are currently some efforts going on to get rid of it. Thus let's
convert the init function in the s390x code to realize() instead.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1538466491-2073-1-git-send-email-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/s390-pci-bus.c