On 02/05/2024 15.15, Cédric Le Goater wrote:
sclp_get_event_facility_bus() scans the whole machine to find a
TYPE_SCLP_EVENTS_BUS object. The SCLPDevice instance is now available
under the machine state, use it to simplify the lookup and adjust the
creation of the consoles.
Signed-off-by: Cédric Le Goater <c...@redhat.com>
---
include/hw/s390x/event-facility.h | 2 +-
hw/s390x/event-facility.c | 13 ++-----------
hw/s390x/s390-virtio-ccw.c | 12 +++++++-----
3 files changed, 10 insertions(+), 17 deletions(-)
Reviewed-by: Thomas Huth <th...@redhat.com>