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

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


  • To: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>
  • From: Henry Wang <xin.wang2@xxxxxxx>
  • Date: Fri, 26 Apr 2024 09:48:37 +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=/5r3OY9+i3m/tvaQ/bxsIpagM9MMW0+E+w89ONUJ8Xw=; b=LOYjZejwCqpHyaouon2kX20F4fJQ7fdvxlUykI4YQX9AQ43inJef2L2hGLvmD2h+xpWHpaPUhB0JRvwFUrxlgIiFM/33W8MAlWznLT5qyFWsO9ZsjnGplMM96QNZHicCXl2C+tRo6v4+Y7l0A4rmdB9xrht5lKnl6jJrRjZ8bOGK55GbdR0LeswEVDtDHO8kg8fgf7kkXmf1+H7IP/eSMQ+mU/Necs+JzNW1N6cPj2EE3StCilpRrEC8cTXInbSVzkTCWmQbL0loUARYTX3aSXvvbZdgsUi8EDGmB3ccpzlUMOQnP0l5nzoFslli03jGectf3TfQ5FeL7aZGg1JoKw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VSwIcP4YmeoeL7Ip0HP74SRwY9BCch4zWzB276lUz0VSO32+8Nx+1KdMDHZnSR/pwzn0pUHe+XrLwxN5+81qugW5J0/wdHia3NpfTxAxTBglYyE8TNQJugGC/tCVDQ00tNjOxtmgX2ijZ1srwsV1Z+yuVkJk7FVZ14Lm5gjsChOKCWDOhshMGAEqzizBb7cb/SoUH/LFslX+ho95zy03eDPDdd1FeVAheQbA1NiCdv8U7hi7QzbYy5a5jJzQ6SODXBTl4a5e5XSn3dqgVhpCtCR2BIsgYLzs5Jn2cxWYtpsRFa9t8P7azCCwQFNjavoDW7lF070heQ4PJhPlyCAUlw==
  • Cc: Anthony PERARD <anthony@xxxxxxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 26 Apr 2024 01:48:55 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi Stewart,

On 4/26/2024 9:45 AM, Stewart Hildebrand wrote:
On 4/24/24 20:43, Henry Wang wrote:
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.
Please also add tools/helpers/get-overlay to .gitignore

Thanks for the reminder! Yes sure I will add it.

Kind regards,
Henry



 


Rackspace

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