Skip to contentSkip to conversation

Support of old Xen versions in the Linux kernel

DISCUSSION Juergen Gross 3 participants 3 messages Apr 13, 2021

lore
Share & tools
lore
#0 lore raw

In x86 kernel development the question came up whether we need to support XENFEAT_gnttab_map_avail_bits not being set when running as a PV guest.

This feature is active for PV guests since Xen 3.4.

So the basic question is: which is the oldest version of Xen we want to support in the Linux kernel? As far as I know there is no Xen based product in productive use with Xen older than 4.2.

Would we be fine to drop support for older versions (feel free to suggest other versions than 4.2 as the first to be supported Xen version)?

In case the answer is yes, I'd post some patches to clean up the kernel, including a safety net to bail out in case a feature needed isn't available.

Juergen

#1 lore raw
Quoted 10 lines · Juergen Gross

In x86 kernel development the question came up whether we need to support XENFEAT_gnttab_map_avail_bits not being set when running as a PV guest.

This feature is active for PV guests since Xen 3.4.

So the basic question is: which is the oldest version of Xen we want to support in the Linux kernel? As far as I know there is no Xen based product in productive use with Xen older than 4.2.

Quoted 8 lines

Would we be fine to drop support for older versions (feel free to suggest other versions than 4.2 as the first to be supported Xen version)?

In case the answer is yes, I'd post some patches to clean up the kernel, including a safety net to bail out in case a feature needed isn't available.

Sounds good to me.

-boris

#2 lore raw
Quoted 15 lines · Boris Ostrovsky
Quoted 14 lines · Juergen Gross

In x86 kernel development the question came up whether we need to support XENFEAT_gnttab_map_avail_bits not being set when running as a PV guest.

This feature is active for PV guests since Xen 3.4.

So the basic question is: which is the oldest version of Xen we want to support in the Linux kernel? As far as I know there is no Xen based product in productive use with Xen older than 4.2.

Would we be fine to drop support for older versions (feel free to suggest other versions than 4.2 as the first to be supported Xen version)?

Quoted 5 lines
Quoted 3 lines

In case the answer is yes, I'd post some patches to clean up the kernel, including a safety net to bail out in case a feature needed isn't available.

Sounds good to me.

For ARM, the Xen ABI became stable only with Xen 4.4.