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

Re: [XEN][PATCH v7] x86: make Viridian support optional


  • To: Grygorii Strashko <grygorii_strashko@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jason Andryuk <jason.andryuk@xxxxxxx>
  • Date: Fri, 31 Oct 2025 17:43:54 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=epam.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • 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=GnQOp4bAe932EhUOyBSa7jyAejIelbRGvTc9kGFB898=; b=qQISwh3RLQVCMw8ypbWXZLmEe21Ikqo9XUfJNiLebc0vzhmb58kVTWyGM7ib7qpzU8VOTZ7YVGcsJAaCBuG/WaofG/SgbCIPgochGtKqhk9RAUxzK0k9YR30NOo63f0zJUyUM/5OeW6VFQbDZJrHzJjXLYhAfxVzqtvrnjH+MHA3bUBShNRX60gMlSnG5Osd2d5o55WXIb7aIXgXrC0a9nU8kLuR5TKkrENTn99wVKS31OD55gZ6NCVGwnDrhhYBUKd3p+U7BB5JJ/yHAlG5SeIvwl45g3USb405JnGQXvQ8MBGB4rRCjm3gmXTn2kABP+LQs4/cMhlpo3XA2yS8zQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=J+dp/qRN7MOB3mP/HIIRLmAInxBFmboawlQXf3iJtgL3UJcuGC2mHu4A1WkNKX9VFHofhKSKBxIz92ket2fjLdWCPSl2shomjjfKHAgDcT9geZfKrGKfchgMhvp86ks3EmXLrqjZ7L5I7SXmqsDNpLPqPDr2pdKaVS0RiZn3UAaWQtPeqGPir/HWaA4Eiy9m5fJuYCihs0kcD9L8pH3Tlj3CYkQXA1c9ifsK8NEsZ7PHArIAKjYi89IwIVLJoy2973JeBdIPUEDF/posb8ITWjWfBIBcZgt4SV3kFI2UpnGaw8qy3TNhKsLdOSkQ65ZrcpWZg0V4T3eR2kqmvDy1ug==
  • Cc: Sergiy Kibrik <Sergiy_Kibrik@xxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Paul Durrant <paul@xxxxxxx>, Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>
  • Delivery-date: Fri, 31 Oct 2025 21:44:17 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 2025-10-31 12:17, Grygorii Strashko wrote:
From: Sergiy Kibrik <Sergiy_Kibrik@xxxxxxxx>

Add config option 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.

[grygorii_strashko@xxxxxxxx: fixed NULL pointer deref in
viridian_save_domain_ctxt(); stub viridian_vcpu/domain_init/deinit()]
Signed-off-by: Sergiy Kibrik <Sergiy_Kibrik@xxxxxxxx>
Signed-off-by: Grygorii Strashko <grygorii_strashko@xxxxxxxx>

Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>



 


Rackspace

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