|
From: | Thomas Huth |
Subject: | Re: [PATCH 2/3] s390x/event-facility: Simplify sclp_get_event_facility_bus() |
Date: | Thu, 2 May 2024 19:11:01 +0200 |
User-agent: | Mozilla Thunderbird |
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 <clg@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 <thuth@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |