From 1723a1b6313851d9704961e1f527312ee0a5fce4 Mon Sep 17 00:00:00 2001 From: David Hildenbrand Date: Wed, 13 May 2015 15:06:44 +0200 Subject: s390/sclp: move sclp_service_interrupt into the sclp device Let's make that function a method of the new sclp device, keeping the wrapper for existing users. We can now let go of get_event_facility(). Reviewed-by: Matthew Rosato Signed-off-by: David Hildenbrand Signed-off-by: Cornelia Huck --- include/hw/s390x/sclp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/hw/s390x/sclp.h b/include/hw/s390x/sclp.h index 60db98cb91..50094ebcc8 100644 --- a/include/hw/s390x/sclp.h +++ b/include/hw/s390x/sclp.h @@ -192,6 +192,7 @@ typedef struct SCLPDeviceClass { /* public */ void (*execute)(SCLPDevice *sclp, SCCB *sccb, uint32_t code); + void (*service_interrupt)(SCLPDevice *sclp, uint32_t sccb); } SCLPDeviceClass; typedef struct sclpMemoryHotplugDev sclpMemoryHotplugDev; -- cgit v1.2.3