qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/3] s390x: Simplify SCLPDevice usage


From: Cédric Le Goater
Subject: [PATCH 0/3] s390x: Simplify SCLPDevice usage
Date: Thu, 2 May 2024 15:15:30 +0200

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-thuth@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

[Prev in Thread] Current Thread [Next in Thread]