[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2] x86: make Viridian support optional
On Fri Mar 21, 2025 at 9:26 AM GMT, Sergiy Kibrik wrote: > Add config option HVM_VIRIDIAN that covers viridian code within HVM. > Calls to viridian functions guarded by is_viridian_domain() and related > macros. > Having this option may be beneficial by reducing code footprint for systems > that are not using Hyper-V. > > Signed-off-by: Sergiy Kibrik <Sergiy_Kibrik@xxxxxxxx> > CC: Alejandro Vallejo <alejandro.vallejo@xxxxxxxxx> > CC: Jan Beulich <jbeulich@xxxxxxxx> > --- > changes in v2: > - changed title in Kconfig & add help text > - moved Kconfig changes to arch/x86/hvm/Kconfig > - address review comments > --- > xen/arch/x86/hvm/Kconfig | 10 ++++++++++ > xen/arch/x86/hvm/Makefile | 2 +- > xen/arch/x86/hvm/hvm.c | 27 ++++++++++++++++++--------- > xen/arch/x86/hvm/vlapic.c | 11 +++++++---- > xen/arch/x86/include/asm/hvm/domain.h | 2 ++ > xen/arch/x86/include/asm/hvm/hvm.h | 3 ++- > xen/arch/x86/include/asm/hvm/vcpu.h | 2 ++ > 7 files changed, 42 insertions(+), 15 deletions(-) LGTM Reviewed-by: Alejandro Vallejo <alejandro.vallejo@xxxxxxxxx> Cheers, Alejandro
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |