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

[PATCH v3 5/8] evtchn: add compat struct checking for newer sub-ops

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 <jbeulich@xxxxxxxx>
v3: New.

--- 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
+#undef xen_evtchn_expand_array
+#define xen_evtchn_init_control evtchn_init_control
+#undef xen_evtchn_init_control
+#define xen_evtchn_reset evtchn_reset
+#undef xen_evtchn_reset
+#define xen_evtchn_set_priority evtchn_set_priority
+#undef xen_evtchn_set_priority
 #define xen_mmu_update mmu_update
 #undef xen_mmu_update
--- 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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.