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

[PATCH v2 17/17] tools/init-dom0less: Continue on error


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jason Andryuk <jason.andryuk@xxxxxxx>
  • Date: Wed, 16 Jul 2025 17:15:04 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org 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=ntmVC9IWFJ5GNC3GzC1iMcc39AzLXNBTd/6KxHvgHN0=; b=d9DtBpXOBtRT8uJO41lYx/T0reUR9U/ZeRLV9xBwzw6a/FQRxQPGkmTimLCbGEfDuJAudk0t/gNdgnvc6E19bLzs8igHxRnyNeBBPvWCANfA05fBMq7tNPJ2xD1gNcyWQdSCKhCxFzS30Ux/5TxgzJnpkN1rCaLJ6S+KqLZkhBR3s4pO9tvFlBwMQy6TClBigAlCcnDReQc8IAuOQxED+u4aXsVLwmnRG7LGe4ymbQKSbB+cjMJhhyDop86F90/UuZldL2+xbM+CeXxOs4KFdauYzrtPxIf8v4mLo9yT16gze28VBU0aUVfkOTLt5PnWVp7GhNhLBMJEclaLXpsamg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JYpy9owhui4bKpBqu/0rhQrjZSYZ62xLiTeN1Lc/fpTLFQpMmPcTeYZJTW7RGTkY57YeQv6lBf+07GwY6Q4/G/vRCMDKhgwfFEM7dkHhTR/SNDDKbWwf+KmGZ3NSGjYe6omiVM1hJJoAD3GPSkhZqxc1rQtSiGkFjjmHaaLUHW6pjPLoiuCHG2iIhuygU2K/bolBhpg7/1A7N3VhQEWZAfWt8fEXLh1+MGCgv8sDDTMVBCeINNSRctjW5xutwoHpM5O4btAwJgQqmSccgkRT0GOAqGh083xk2x9CpL7JttRNcYWP+TZMnA6RAXYvpTdHSiSwYNnKtqXVbAENiWC71A==
  • Cc: Jason Andryuk <jason.andryuk@xxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Delivery-date: Wed, 16 Jul 2025 21:22:39 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

An error on one domain doesn't apply to others.  Continue the loop over
all domains if init_domain() fails.

Signed-off-by: Jason Andryuk <jason.andryuk@xxxxxxx>
---
 tools/helpers/init-dom0less.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/helpers/init-dom0less.c b/tools/helpers/init-dom0less.c
index 4336e0f418..bd213c5ccd 100644
--- a/tools/helpers/init-dom0less.c
+++ b/tools/helpers/init-dom0less.c
@@ -377,7 +377,6 @@ int main(int argc, char **argv)
         rc = init_domain(xsh, xch, xfh, &info[i]);
         if (rc < 0) {
             fprintf(stderr, "init_domain failed.\n");
-            goto out;
         }
     }
 out:
-- 
2.50.0




 


Rackspace

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