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

Re: [PATCH 11/15] tools/helpers: Add get_overlay


  • To: Jan Beulich <jbeulich@xxxxxxxx>, Vikram Garhwal <fnu.vikram@xxxxxxxxxx>
  • From: Henry Wang <xin.wang2@xxxxxxx>
  • Date: Thu, 25 Apr 2024 08:43:16 +0800
  • 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=arcselector9901; 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=vf+UpPWT9R0F1txmyoaz6x9cI+SS2KLqJDeA7s0ACrg=; b=kIbgbNb7ObnnWTeAAhpaO0xMM84+/Z7+wfvmUDOnFhiuvidiiN4mhj23YngeFGVtgA/P0m66IvbIGNK8VtndGRy1hZmzFwAbmLHSEAv1ZcNTLqmqOC5wCQkV96UWc+4HjtN3FMpvF87PJlcxLl0dSK/KaiW1pk9TGKYL1d67pVPkh6tJ+o5kStuzr0BGsHbPHMaN5oip5qbFiSW+6TtI4YpyzGPsbvxAYi9EsN0ASrZrasKzXUjdssEbPxf8P8hEQ3gn5KOb1+u4Uj37OsZCWS2B8a403IqdvSC7HGY5cja3wyO3KSdmN8s6d8XAx8XCMZQ/M2qxGsXmL+78mfZNfw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RjUDdMX6yRQ/3atrz8QXBsbgWog8M4GuXqQFi1hvlefZRUJ6gvLGlSloWkhF5BSuD6vFk0nKkhXQGF9B/RF5dLjDlpfO49dHb9PybIdXwtUa5Imp9eCo4CKtF6zbD8WPagw8ViTs2noW/7FM7GWjF/1HQUDDF6UVNXGMkmKqtqNDos//n3+hkT+3wui6n7tJZwWL9rbPOxQv2LnnqTHMJPEhVOMqW0rZBMxOMcPpoYaeVmUfsnnfZMPRfAqg3Fgium6HbE58f5Ihy7jbT400C5hSl3Bk/JW+64MQ/LZEpn4QhslEdJGAlYzR1lE+Ku4kLFBlJmdIRhuwVaZoKeYx4Q==
  • Cc: Anthony PERARD <anthony.perard@xxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 25 Apr 2024 00:43:29 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi Jan,

On 4/24/2024 2:08 PM, Jan Beulich wrote:
On 24.04.2024 05:34, Henry Wang wrote:
From: Vikram Garhwal <fnu.vikram@xxxxxxxxxx>

This user level application copies the overlay dtbo shared by dom0 while doing
overlay node assignment operation. It uses xenstore to communicate with dom0.
More information on the protocol is writtien in docs/misc/overlay.txt file.

Signed-off-by: Vikram Garhwal <fnu.vikram@xxxxxxxxxx>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxx>
Signed-off-by: Henry Wang <xin.wang2@xxxxxxx>
---
  tools/helpers/Makefile      |   8 +
  tools/helpers/get_overlay.c | 393 ++++++++++++++++++++++++++++++++++++
  2 files changed, 401 insertions(+)
  create mode 100644 tools/helpers/get_overlay.c
As mentioned before on various occasions - new files preferably use dashes as
separators in preference to underscores. You not doing so is particularly
puzzling seeing ...

--- a/tools/helpers/Makefile
+++ b/tools/helpers/Makefile
@@ -12,6 +12,7 @@ TARGETS += init-xenstore-domain
  endif
  ifeq ($(CONFIG_ARM),y)
  TARGETS += init-dom0less
+TARGETS += get_overlay
... patch context here (demonstrating a whopping 3 dashes used in similar
cases).

I am not very sure why Vikram used "_" in the original patch. However I agree you are correct. Since I am currently doing the follow up of this series, I will use "-" in v2 as suggested. Thanks.

Kind regards,
Henry


Jan




 


Rackspace

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