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

[xen master] evtchn: add compat struct checking for newer sub-ops



commit a609b6577f7867db4be1470130b7b3c686398c4f
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Fri Sep 4 11:11:35 2020 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Fri Sep 4 11:11:35 2020 +0200

    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>
    Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
---
 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
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

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