add backward-compatibility configure options Signed-off-by: Jan Beulich --- a/drivers/xen/Kconfig +++ b/drivers/xen/Kconfig @@ -324,6 +324,24 @@ choice config XEN_COMPAT_030100_AND_LATER bool "3.1.0 and later" + config XEN_COMPAT_030200_AND_LATER + bool "3.2.0 and later" + + config XEN_COMPAT_030300_AND_LATER + bool "3.3.0 and later" + + config XEN_COMPAT_030400_AND_LATER + bool "3.4.0 and later" + + config XEN_COMPAT_040000_AND_LATER + bool "4.0.0 and later" + + config XEN_COMPAT_040100_AND_LATER + bool "4.1.0 and later" + + config XEN_COMPAT_040200_AND_LATER + bool "4.2.0 and later" + config XEN_COMPAT_LATEST_ONLY bool "no compatibility code" @@ -332,6 +350,12 @@ endchoice config XEN_COMPAT hex default 0xffffff if XEN_COMPAT_LATEST_ONLY + default 0x040200 if XEN_COMPAT_040200_AND_LATER + default 0x040100 if XEN_COMPAT_040100_AND_LATER + default 0x040000 if XEN_COMPAT_040000_AND_LATER + default 0x030400 if XEN_COMPAT_030400_AND_LATER + default 0x030300 if XEN_COMPAT_030300_AND_LATER + default 0x030200 if XEN_COMPAT_030200_AND_LATER default 0x030100 if XEN_COMPAT_030100_AND_LATER default 0x030004 if XEN_COMPAT_030004_AND_LATER default 0x030002 if XEN_COMPAT_030002_AND_LATER