Message ID | 827008e4af26814e4cd4bf6abbb92c77fc136aa8.1722333634.git.Sergiy_Kibrik@epam.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | x86: make CPU virtualisation support configurable | expand |
On 30.07.2024 12:41, Sergiy Kibrik wrote: > --- a/xen/arch/x86/Kconfig > +++ b/xen/arch/x86/Kconfig > @@ -123,11 +123,25 @@ config HVM > If unsure, say Y. > > config AMD_SVM > - def_bool HVM > + bool "AMD-V" if EXPERT > + depends on HVM > + default HVM > + help > + Enables virtual machine extensions on platforms that implement the > + AMD Virtualization Technology (AMD-V). > + If your system includes a processor with AMD-V support, say Y. > + If in doubt, say Y. > > config INTEL_VMX > - def_bool HVM > + bool "Intel VT-x" if EXPERT > + depends on HVM > + default HVM > select ARCH_IOREQ_COMPLETION > + help > + Enables virtual machine extensions on platforms that implement the > + Intel Virtualization Technology (Intel VT-x). > + If your system includes a processor with Intel VT-x support, say Y. > + If in doubt, say Y. Despite my earlier ack: It appears to make little sense to use "default HVM" when there's also "depends on HVM". "default y" would be more clear imo, even if just slightly. Jan
01.08.24 14:39, Jan Beulich: > On 30.07.2024 12:41, Sergiy Kibrik wrote: >> --- a/xen/arch/x86/Kconfig >> +++ b/xen/arch/x86/Kconfig >> @@ -123,11 +123,25 @@ config HVM >> If unsure, say Y. >> >> config AMD_SVM >> - def_bool HVM >> + bool "AMD-V" if EXPERT >> + depends on HVM >> + default HVM >> + help >> + Enables virtual machine extensions on platforms that implement the >> + AMD Virtualization Technology (AMD-V). >> + If your system includes a processor with AMD-V support, say Y. >> + If in doubt, say Y. >> >> config INTEL_VMX >> - def_bool HVM >> + bool "Intel VT-x" if EXPERT >> + depends on HVM >> + default HVM >> select ARCH_IOREQ_COMPLETION >> + help >> + Enables virtual machine extensions on platforms that implement the >> + Intel Virtualization Technology (Intel VT-x). >> + If your system includes a processor with Intel VT-x support, say Y. >> + If in doubt, say Y. > > Despite my earlier ack: It appears to make little sense to use "default HVM" > when there's also "depends on HVM". "default y" would be more clear imo, even > if just slightly. > indeed, I'll fix it in v6 series -Sergiy
diff --git a/xen/arch/x86/Kconfig b/xen/arch/x86/Kconfig index eff9eedc19..f6a90d71fb 100644 --- a/xen/arch/x86/Kconfig +++ b/xen/arch/x86/Kconfig @@ -123,11 +123,25 @@ config HVM If unsure, say Y. config AMD_SVM - def_bool HVM + bool "AMD-V" if EXPERT + depends on HVM + default HVM + help + Enables virtual machine extensions on platforms that implement the + AMD Virtualization Technology (AMD-V). + If your system includes a processor with AMD-V support, say Y. + If in doubt, say Y. config INTEL_VMX - def_bool HVM + bool "Intel VT-x" if EXPERT + depends on HVM + default HVM select ARCH_IOREQ_COMPLETION + help + Enables virtual machine extensions on platforms that implement the + Intel Virtualization Technology (Intel VT-x). + If your system includes a processor with Intel VT-x support, say Y. + If in doubt, say Y. config XEN_SHSTK bool "Supervisor Shadow Stacks"