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

Re: [PATCH v3 01/16] x86/boot: introduce boot domain


  • To: Jan Beulich <jbeulich@xxxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • From: Alejandro Vallejo <agarciav@xxxxxxx>
  • Date: Wed, 9 Apr 2025 11:28:04 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=suse.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=EIqEyIM6x0v6E3ZGjk2b4m08c5+ps5PMNq22O4+Mjd4=; b=a2L29mkn3QS1rzfqeMvGhVenHbbt8yKnhyVgYmYAf7WznnuxivtEIjClCQXB8jiUspEAmQHiSZ9za43EWn/bpk4RgI+Ot+teDaxWH5hpyeDkjncCfOYB6VPlUeOEs9jQHKtfqxCParZJbuDhx0909oTjCgaJ0+98tnC78e3GPaCfx9AZZxeTv1sun1T7eCVvRGS3BgN466yNiZeMspP7CaD8eZZdd+dOWE1aNsZ2RzW6bGaDN6UlUKjZbX+/zFRQPO3xGyZsx7q/xVWo2cNyAQfTZO7PPzY11xVkKvQ4rDJUGJ63IRLW1T7tSTpQyJq0iIF/Upxx40JyLgpMeTq+Ww==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=jc/q2uTYLCvPJooskCBhK9MimAp8FkNPVaGyh/1Dira35xMq2d9kobd75YqIVkog6o6HkIW61XAmurAP8POc9bmg2CrG7LFqyPPGu2baUXrRiA0kBccfR00nmxa4+KN+CaPisQylveUlcdMtfcbPt3WvLuhG/L1S8pq3JicBu2coqSIT6VcUst2nUPakq1PLfk83mNWH3Tl1x2UldcGm10FA1SU7rUYVqRgRQMLZyVwQaozZp3mfzDZUX12/b1jlU9i/qH4dTLLPD+0ku5qtBahICT/yIrRxwrd2ENWeW1LBl+VzeR0qi6k6Rm5+gx60gPdczSGik/GuLirm/hA0RA==
  • Cc: Jason Andryuk <jason.andryuk@xxxxxxx>, Xenia Ragiadakou <xenia.ragiadakou@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 09 Apr 2025 10:28:25 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Wed Apr 9, 2025 at 7:24 AM BST, Jan Beulich wrote:
> On 08.04.2025 18:07, Alejandro Vallejo wrote:
>> From: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
>> 
>> To begin moving toward allowing the hypervisor to construct more than one
>> domain at boot, a container is needed for a domain's build information.
>> Introduce a new header, <xen/asm/bootdomain.h>, that contains the initial
>> struct boot_domain that encapsulate the build information for a domain.
>> 
>> Add a kernel and ramdisk boot module reference along with a struct domain
>> reference to the new struct boot_domain. This allows a struct boot_domain
>> reference to be the only parameter necessary to pass down through the domain
>> construction call chain.
>> 
>> Signed-off-by: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>
>> Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>
>
> Acked-by: Jan Beulich <jbeulich@xxxxxxxx>

Thanks

>
>> --- /dev/null
>> +++ b/xen/arch/x86/include/asm/boot-domain.h
>> @@ -0,0 +1,28 @@
>> +/* SPDX-License-Identifier: GPL-2.0-or-later */
>> +/*
>> + * Copyright (c) 2024 Apertus Solutions, LLC
>> + * Author: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>
>> + * Copyright (c) 2024 Christopher Clark <christopher.w.clark@xxxxxxxxx>
>> + */
>
> I wonder if the 2024-s here shouldn't have been amended by 2025 now.

Maybe. I didn't think about it, tbh. One could argue that Daniel and
Christopher's original contribution was indeed in 2024 and the fact they
weren't committed until (hopefully!) 2025 doesn't remove the fact they
did exist in some form in 2024.

I don't particularly care either way, but tend to lean on the "it's fine
how it is".

Cheers,
Alejandro



 


Rackspace

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