physdev: hide compatibility definitions for new enough interface version There's no point in continuing to expose those. Signed-off-by: Jan Beulich --- a/xen/include/public/physdev.h +++ b/xen/include/public/physdev.h @@ -344,6 +344,7 @@ DEFINE_XEN_GUEST_HANDLE(physdev_dbgp_op_ */ #define PHYSDEVOP_IRQ_UNMASK_NOTIFY 4 +#if __XEN_INTERFACE_VERSION__ < 0x00030202 /* * These all-capitals physdev operation names are superceded by the new names * (defined above) since interface version 0x00030202. @@ -357,6 +358,7 @@ DEFINE_XEN_GUEST_HANDLE(physdev_dbgp_op_ #define PHYSDEVOP_FREE_VECTOR PHYSDEVOP_free_irq_vector #define PHYSDEVOP_IRQ_NEEDS_UNMASK_NOTIFY XENIRQSTAT_needs_eoi #define PHYSDEVOP_IRQ_SHARED XENIRQSTAT_shared +#endif #if __XEN_INTERFACE_VERSION__ < 0x00040200 #define PHYSDEVOP_pirq_eoi_gmfn PHYSDEVOP_pirq_eoi_gmfn_v1