From 6762808fda6f622d1a2cfb4752e3840c8c49ca15 Mon Sep 17 00:00:00 2001 From: David Hildenbrand Date: Mon, 29 Jan 2018 13:56:23 +0100 Subject: s390x/flic: cache the common flic class in a central function This avoids tons of conversions when handling interrupts. Signed-off-by: David Hildenbrand Message-Id: <20180129125623.21729-19-david@redhat.com> Signed-off-by: Cornelia Huck --- include/hw/s390x/s390_flic.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/hw/s390x') diff --git a/include/hw/s390x/s390_flic.h b/include/hw/s390x/s390_flic.h index a636afce42..4687ecfe83 100644 --- a/include/hw/s390x/s390_flic.h +++ b/include/hw/s390x/s390_flic.h @@ -136,6 +136,7 @@ void s390_flic_init(void); S390FLICState *s390_get_flic(void); QEMUS390FLICState *s390_get_qemu_flic(S390FLICState *fs); +S390FLICStateClass *s390_get_flic_class(S390FLICState *fs); bool ais_needed(void *opaque); #endif /* HW_S390_FLIC_H */ -- cgit v1.2.3-55-g7522