[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XEN PATCH v5 13/13] x86/hvm: make AMD-V and Intel VT-x support configurable


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Sergiy Kibrik <sergiy_kibrik@xxxxxxxx>
  • Date: Mon, 5 Aug 2024 14:00:01 +0300
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=y/j1ooJXuqNaX7jLUIrC2BUpsx9/yYjNSUWWlkZRGOM=; b=vDvuiiZDyhpLf3YdPujU60PX4l5mM7mhLgpXR0IpDMf/gs+ce9XQLBNTgOS12J4C/VM/nD2cX4q0e5/gjGvh7Qxxxwr1z2AWQaEp81UdBIr8sBW7mXBClvVrNk3vc3Nef/1v7a5QpJZg8V5GwoTvRRAZeeBr7+cWic1vFHKknKTPZ/IO8I3zN85EPpUQ3fj1DDfBK0XeXJuc70sJdIcH+Wnrpop4H2j34SGE1zos0Hq7/pVHqEIZBClbHpTFE/jVa1mDNTQmQSWxCaUqEx+Xdodx07KIMpflIdlHjupSjf9RUPNsUJNKSSlHSoq2QT630pw+ysOSeuqKJ6ACOxmAjg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=kVFBbJqtYWln+TFpuaDu8ppQakcYR0z486WB1YDFsDSnoaA/9xV1GaWXfQWqxFIedj4IS2xTKyv14nMoXJTuMHCgEpfuk8Ksi9x24cfqhHJnMCOjf8tMNuoYJ5aT38g4W3MbXVl9QXbEdrYREh3miW/MmlYR1UyYOQ3TCuK+d+QaTvFBN+5GynOGDhpAHyH22jriyDLjOTsRzZfcA84/RTnhSzXG2TJdJdxYwh05vt+a8p5yH/1AoKrpGfuo4llyAGdSOE2UCgjBnnwywqiFnlhXy5lX46NYJw2wMQydIX0g2c2iGh9QO+yVd8JxZBWf9j3JM6o6FxgamWA0pOx1XQ==
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Xenia Ragiadakou <xenia.ragiadakou@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 05 Aug 2024 11:00:15 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.