Hello,

Here is a little series reworking the SCLPDevice initialization in the
machine to simplify its use.

Applies on top of :

  https://lore.kernel.org/qemu-devel/20240430190843.453903-1-th...@redhat.com/
  
Thanks,

C. 

Cédric Le Goater (3):
  s390x: Introduce a SCLPDevice pointer under the machine
  s390x/event-facility: Simplify sclp_get_event_facility_bus()
  s390x/sclp: Simplify get_sclp_device()

 include/hw/s390x/event-facility.h  |  2 +-
 include/hw/s390x/s390-virtio-ccw.h |  3 +++
 include/hw/s390x/sclp.h            |  2 --
 hw/s390x/event-facility.c          | 13 ++-----------
 hw/s390x/s390-virtio-ccw.c         | 18 ++++++++++++------
 hw/s390x/sclp.c                    | 15 +++------------
 6 files changed, 21 insertions(+), 32 deletions(-)

-- 
2.44.0


Reply via email to