[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEN][PATCH v3] x86: make Viridian support optional
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Grygorii Strashko <grygorii_strashko@xxxxxxxx>
- Date: Thu, 18 Sep 2025 20:13:27 +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=ZL8IXhLsjCs0n4Fvevruujiq59sJrvq4hPUYosNbT0Q=; b=MqlU9UTvCUMwOc6NRnfQxhms2QWtZyi6ew9WRNg9BlEBsrFO0MpW01hIOchQEsE5bUqgPNIqF2hgadbhFTDNqF74fRCjUdD8ZCmuYkN3YczZYmf2rYvQMaOpfyohJVcm/2yCJd+cN9mrbUs64oxLZViEo6jYHMu6qzVrecv3ukCkIPsqVjRQPooo10C8r2JdjatE67tBhcKgSqQoa7HPNGALPZq/QHFVlNT8b3XBomLZ8noJr/o8O3BXxb/l2Y1C0sjn0HkTZpJwzlWyuy7+I6RUAU+ow/U9BqzP5kploF6hLEIPowgRHHh/hZvco4qDSry3ncInpBH+GPJheDRzgQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=vngOfbvKJzjzjowqTqgL/HQHI/pgEZUsOqCXbhPCfm8ASYBfJSQGUI+X5cMZdDwQ27+nwNM1p5jyj+vpmRxDUrcpm2p6DAHY/aEd9i0PgVIbe9xPBOGC/MBppEml20TYRNfaw89z5/HFiA9h3cBpd0Iep0FNn+6t8twwfzisxpdFbDZSzHt9t059oqdRX4ZQR75pHqx/+QIWz2K7sLB1Q29dPBv5HtI0n84kAyBq/Skgdiu14W1t9pU0dGkYgKYO4H+E6r9aLgXfiRfce0TYvBUbsOuLRW5X5+b41hyOMQXgi13P9irMOVRchnvQ1/XOEAxak0IhKZFqo2WjT/Mbmg==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
- Cc: Sergiy Kibrik <Sergiy_Kibrik@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Paul Durrant <paul@xxxxxxx>, Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Thu, 18 Sep 2025 17:13:47 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 18.09.25 18:19, Jan Beulich wrote:
On 18.09.2025 17:15, Grygorii Strashko wrote:
On 16.09.25 16:41, Grygorii Strashko wrote:
--- a/xen/arch/x86/hvm/Kconfig
+++ b/xen/arch/x86/hvm/Kconfig
@@ -62,6 +62,16 @@ config ALTP2M
If unsure, stay with defaults.
+config HVM_VIRIDIAN
+ bool "Hyper-V enlightenments for guests" if EXPERT
+ default y
+ help
+ Support optimizations for Hyper-V guests such as faster hypercalls,
+ efficient timer and interrupt handling, and enhanced paravirtualized
+ I/O. This is to improve performance and compatibility of Windows VMs.
+
+ If unsure, say Y.
+
Actually there is a question for x86 Experts -
Does it make sense to have HVM_VIRIDIAN enabled without enabled
AMD_SVM/INTEL_VMX Virtualization extensions?
It makes as much or as little sense as HVM=y with both of the ones you mention
turned off. Iirc Andrew in particular wanted to permit such configurations, to
allow to prove the (abstract) correctness of building them, even if the
resulting hypervisor may be of little use.
I've been thinking about adding "depends on AMD_SVM || INTEL_VMX"
to cleanly note dependency.
It's very hard to understand dependencies within x86 code :(
--
Best regards,
-grygorii
|