hw/s390x/ccw: Register qbus type in abstract TYPE_CCW_DEVICE parent
commita6d8b731130bf76c3d2932b067befa5c380e0dee
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 24 Apr 2021 14:53:13 +0000 (24 16:53 +0200)
committerCornelia Huck <cohuck@redhat.com>
Thu, 20 May 2021 12:19:30 +0000 (20 14:19 +0200)
tree86ac99cc8011c436a3b9f5e59e4bc6cf0aa9edd3
parent6178d4689a1e6a0d2b6dea1dad990e74148fa9d1
hw/s390x/ccw: Register qbus type in abstract TYPE_CCW_DEVICE parent

Instead of having all TYPE_CCW_DEVICE children set the bus type to
TYPE_VIRTUAL_CSS_BUS, do it once in the abstract parent.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Eric Farman <farman@linux.ibm.com>
Message-Id: <20210424145313.3287400-1-f4bug@amsat.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/3270-ccw.c
hw/s390x/ccw-device.c
hw/s390x/ccw-device.h
hw/s390x/s390-ccw.c
hw/s390x/virtio-ccw.c