From a609b6577f7867db4be1470130b7b3c686398c4f Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 4 Sep 2020 11:11:35 +0200 Subject: [PATCH] evtchn: add compat struct checking for newer sub-ops MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Various additions to the interface did not get mirrored into the compat handling machinery. Luckily all additions were done in ways not making any form of translation necessary. Signed-off-by: Jan Beulich Reviewed-by: Roger Pau Monné --- xen/common/compat/xlat.c | 16 ++++++++++++++++ xen/include/xlat.lst | 4 ++++ 2 files changed, 20 insertions(+) diff --git a/xen/common/compat/xlat.c b/xen/common/compat/xlat.c index ffc8f8f50e..e21f032413 100644 --- a/xen/common/compat/xlat.c +++ b/xen/common/compat/xlat.c @@ -54,6 +54,22 @@ CHECK_evtchn_op; #undef xen_evtchn_status #undef xen_evtchn_unmask +#define xen_evtchn_expand_array evtchn_expand_array +CHECK_evtchn_expand_array; +#undef xen_evtchn_expand_array + +#define xen_evtchn_init_control evtchn_init_control +CHECK_evtchn_init_control; +#undef xen_evtchn_init_control + +#define xen_evtchn_reset evtchn_reset +CHECK_evtchn_reset; +#undef xen_evtchn_reset + +#define xen_evtchn_set_priority evtchn_set_priority +CHECK_evtchn_set_priority; +#undef xen_evtchn_set_priority + #define xen_mmu_update mmu_update CHECK_mmu_update; #undef xen_mmu_update diff --git a/xen/include/xlat.lst b/xen/include/xlat.lst index bab3a9bad1..57a17a2b62 100644 --- a/xen/include/xlat.lst +++ b/xen/include/xlat.lst @@ -66,8 +66,12 @@ ? evtchn_bind_vcpu event_channel.h ? evtchn_bind_virq event_channel.h ? evtchn_close event_channel.h +? evtchn_expand_array event_channel.h +? evtchn_init_control event_channel.h ? evtchn_op event_channel.h +? evtchn_reset event_channel.h ? evtchn_send event_channel.h +? evtchn_set_priority event_channel.h ? evtchn_status event_channel.h ? evtchn_unmask event_channel.h ? gnttab_cache_flush grant_table.h -- 2.30.2