Re: [PATCH 2/2] xen/Kconfig: select XEN_PVHVM
Jan Beulich <[email protected]> Thu, 6 Aug 2026 08:20:13 +0200
| Newsgroups | gmane.comp.emulators.xen.devel,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
On 06.08.2026 03:52, Jason Andryuk wrote: > --- a/arch/x86/xen/Kconfig > +++ b/arch/x86/xen/Kconfig > @@ -51,7 +51,7 @@ config XEN_PV_DOM0 > depends on XEN_PV && XEN_DOM0 > > config XEN_PVHVM > - def_bool y > + bool > depends on XEN && X86_LOCAL_APIC Imo "depends on" on prompt-less, default-off options are at best unhelpful in the common case. (Aiui it can be helpful when "imply" is used instead of "select".) Hence I think this dependency wants dropping right in this patch, justified further by ... > @@ -61,13 +61,15 @@ config XEN_PVHVM_SMP > config XEN_PVHVM_GUEST > bool "Xen PVHVM guest support" > default y > - depends on XEN_PVHVM && PCI > + depends on XEN && PCI > + select XEN_PVHVM > help > Support running as a Xen PVHVM guest. > > config XEN_PVH > bool "Xen PVH guest support" > - depends on XEN && XEN_PVHVM && ACPI > + depends on XEN && ACPI > + select XEN_PVHVM > select PVH > help > Support for running as a Xen PVH guest. ... the XEN dependency being in both of the options selecting XEN_PVHVM and, as per Jürgen's patch, X86_LOCAL_APIC being redundant anyway. Jan