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

Re: [PATCH v5 44/44] x86/boot: convert dom0_construct_pvh to struct boot_domain


  • To: Jason Andryuk <jason.andryuk@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 9 Oct 2024 20:51:14 -0400
  • Arc-authentication-results: i=1; mx.zohomail.com; dkim=pass header.i=apertussolutions.com; spf=pass smtp.mailfrom=dpsmith@xxxxxxxxxxxxxxxxxxxx; dmarc=pass header.from=<dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1728521476; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=/96HRECIQr3cDVNrj658UI3UOWRbkP5oqGJEAQMhND4=; b=AcL+gei8VeZ//rOiBKUCtrPDZ9iUF2xSqdJCCrvVNb7DYCOjM2R2K6jBpy9TMi9zWaKzHjqe+myNEEp1LZtIy1kW5TbDVSK8JvePSZy/UQGPTF3y3MOUJIB87P2EhDhWhJvjJSZ/DDpReC/6liweWbpSqRXHo9oskcFYcCKW0P8=
  • Arc-seal: i=1; a=rsa-sha256; t=1728521476; cv=none; d=zohomail.com; s=zohoarc; b=X4vFJXHU0Hm6YZUdycpH5FFI6OCMp4auW/2kK9I+8nAAkEo2p497AC17aam5UxGEDV01TBsWEEfe9CNq+QgiWvx6PrU8Anqt7ZZa7LV8oLew6DzsfAq7lxA+RrOXp9qwTYUFB6Lixmb/QaPfufuucZzxXVU4TsqYqORq5Eo3rWY=
  • Cc: christopher.w.clark@xxxxxxxxx, stefano.stabellini@xxxxxxx, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Thu, 10 Oct 2024 00:51:28 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 10/8/24 15:56, Jason Andryuk wrote:
On 2024-10-06 17:49, Daniel P. Smith wrote:
With construct_dom0 consuming struct boot_domain, continue passing the
structure down to dom0_construct_pvh.

Signed-off-by: Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>

diff --git a/xen/arch/x86/hvm/dom0_build.c b/xen/arch/x86/hvm/dom0_build.c
index a3fd5e762dc4..755e257cdf30 100644
--- a/xen/arch/x86/hvm/dom0_build.c
+++ b/xen/arch/x86/hvm/dom0_build.c
@@ -1299,25 +1299,23 @@ static void __hwdom_init pvh_setup_mmcfg(struct domain *d)
      }
  }
-int __init dom0_construct_pvh(
-    struct domain *d, const struct boot_module *image,
-    struct boot_module *initrd, const char *cmdline)
+int __init dom0_construct_pvh(const struct boot_domain *bd)
  {
      paddr_t entry, start_info;
      int rc;

Again, I recommend using a local struct domain *d to cut down on the churn.

Ack.

v/r,
dps



 


Rackspace

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