[PATCH 0/3] xen: remove some checks for always present Xen features
From: Juergen Gross
Date: Thu Apr 22 2021 - 11:10:14 EST
Some features of Xen can be assumed to be always present, so add a
central check to verify this being true and remove the other checks.
Juergen Gross (3):
xen: check required Xen features
xen: assume XENFEAT_mmu_pt_update_preserve_ad being set for pv guests
xen: assume XENFEAT_gnttab_map_avail_bits being set for pv guests
arch/x86/xen/enlighten_pv.c | 12 ++----------
arch/x86/xen/mmu_pv.c | 4 ++--
drivers/xen/features.c | 18 ++++++++++++++++++
drivers/xen/gntdev.c | 36 ++----------------------------------
4 files changed, 24 insertions(+), 46 deletions(-)
--
2.26.2