From nobody Sat Jun 13 07:34:23 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=vates.tech ARC-Seal: i=1; a=rsa-sha256; t=1780912207; cv=none; d=zohomail.com; s=zohoarc; b=LAwaCYVeqVrPaWsDR0c3nrbuPhwEf+BmWx0gGoy7tme9sHIn+WOfWaq2V731i8TrwzpezWvCSgtoRhp02Mr9v/4+pRI2fV9oAYMd7mayqIi9muC0nN7cb+41w7SyN1ROwj/l2HsULfxFmPHyHpfvuL62K5HoQwQSQKq+yDAp9bg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1780912207; h=Content-Type:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=AA6ZP9nacQNAsA0OGoYJeAZW8ns1H5oXUGMHhpO+UBQ=; b=QByj476oMOOHotEgOfYTx+iQdFNWc93wSi50KcyYrKcDX3wt0cz7M83ZMB/xa9YYhTSUnyUNYbeJZUZ5k52KbUnRI7Nk4/Dw76JB64WBLqQ4CsQvnUQ2b2LrQLDhyEjH0+edeaKXGoTHLaHAIWrtoZIkbJ2r3y1uLAPN+0pbtWQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1780912206975367.6119124145789; Mon, 8 Jun 2026 02:50:06 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.1331491.1594048 (Exim 4.92) (envelope-from ) id 1wWWbw-0006bo-Ko; Mon, 08 Jun 2026 09:49:36 +0000 Received: by outflank-mailman (output) from mailman id 1331491.1594048; Mon, 08 Jun 2026 09:49:36 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1wWWbw-0006bh-Hi; Mon, 08 Jun 2026 09:49:36 +0000 Received: by outflank-mailman (input) for mailman id 1331491; Mon, 08 Jun 2026 09:49:35 +0000 Received: from mx.expurgate.net ([195.190.135.10]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1wWWbv-0006bb-EU for xen-devel@lists.xenproject.org; Mon, 08 Jun 2026 09:49:35 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1wWWbu-009GpO-QE for xen-devel@lists.xenproject.org; Mon, 08 Jun 2026 11:49:34 +0200 Received: from [10.42.69.1] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6a269026-2eae-0a2a0a5409dd-0a2a4501b1be-20 for ; Mon, 08 Jun 2026 11:49:34 +0200 Received: from [185.255.28.18] (helo=prod-mta-13.swg-srv.net) by tlsNG-d62444.mxtls.expurgate.net with ESMTPS (eXpurgate 4.56.1) (envelope-from ) id 6a26902e-c1f2-0a2a45010019-b9ff1c1289cb-3 for ; Mon, 08 Jun 2026 11:49:34 +0200 Received: from mail2.vates.fr ([37.26.189.201] mail2.vates.fr) (Authenticated sender: 8631fc262581453bbf619ec5b2062170/smtp/7773de5a-2839-4720-82ee-e06722ae1d3e) by prod-mta-13.swg-srv.net (ZoneMTA - prod-mta-13) with ESMTPSA id 19ea6a32f2f000701b.005 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Mon, 08 Jun 2026 09:49:32 +0000 Received: from localhost.localdomain (155.223.66.37.rev.sfr.net [37.66.223.155]) (Authenticated sender: ngoc-tu.dinh@vates.tech) by mail2.vates.fr (Postfix) with ESMTPSA id 0EC9F8715F; Mon, 8 Jun 2026 11:49:32 +0200 (CEST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=vates.tech header.i="@vates.tech" header.h="From:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type:Feedback-ID" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vates.tech; q=dns/txt; s=selector1; bh=AA6ZP9nacQNAsA0OGoYJeAZW8ns1H5oXUGMHhpO+UBQ=; h=from:subject:date:message-id:to:cc:mime-version:content-type:feedback-id; b=b+RqEuAhX3eB1NVxZyyRyDknHcR8ySbHDnL9agl6s1q1JUK2jP/tKBEKmWKYbCm3STO+nZsle mmCfHGyXu8CU5gXJiZjjlDHmnln1+Sy3pE9+ufKg/cXD3J5fuJCORU7YCZDPk5rJuupGv0LIvEg XoTTx2XDyIQOmRJRh+wcr6Jc7KWNXqr5RWlurKcqyBwPhgNw439vWIGZnoFWNeid026vJdQJpa3 LpDzO6ZATcJ83FHR7+MDixjVvB3bphoGiPpcSj0nNuX7AFw5hkSLM3wCgY0lfU22gHepQ02KjYa UGXVJGC9pHXpWI0nDyaKyKzK4RH9HTmTU1SPJ/Gt4Z6A== X-Zone-Loop: 3b785a30037eed4a803e5b9a2486161aa8cf3f5a48d9 x-campaign-type: default x-transaction-id: 4f4dc8b2-9646-420c-a27d-6031c07a969c x-swg-uid: 01-42578ae4-5d5d-42ec-bfe2-e5e88ec3ecca X-Mailer: Sweego Message-ID: <1780912172.8631fc262581453bbf619ec5b2062170.19ea6a32f2f000701b@vates.tech> x-swg-bid: 1780912172.8631fc262581453bbf619ec5b2062170.19ea6a32f2f000701b Feedback-ID: default:8631fc262581453bbf619ec5b2062170:Sweego x-campaign-id: default x-client-id: 8631fc262581453bbf619ec5b2062170 X-Originating-IP: [37.26.189.201] From: Tu Dinh To: xen-devel@lists.xenproject.org Cc: Tu Dinh , Andrew Cooper , Anthony PERARD , Michal Orzel , Jan Beulich , Julien Grall , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Stefano Stabellini Subject: [PATCH] xenstore-paths: Allow subnet prefix in IP address Date: Mon, 8 Jun 2026 11:49:08 +0200 MIME-Version: 1.0 X-BM-Disclaimer: Yes Content-Type: multipart/alternative; boundary="-=Part.2214.db5f07a27187bb49.19ea6a32cbd.b115045ea227afa2=-" X-Bm-Milter-Handled: 4ffbd6c1-ee69-4e1b-aabd-f977039bd3e2 X-Bm-Transport-Timestamp: 1780912172222 X-purgate-ID: tlsNG-d62444/1780912174-ADBA8FF4-6257B28F/0/0 X-purgate-type: clean X-purgate-size: 2224 X-ZohoMail-DKIM: pass (identity @vates.tech) X-ZM-MESSAGEID: 1780912209555158500 ---=Part.2214.db5f07a27187bb49.19ea6a32cbd.b115045ea227afa2=- Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" In the guest-reported IP address in xenstore, it's useful to know which subnet it belongs to. Add a specification for the IPv6 host address/prefix format specified by RFC 4291. For the IPv4 address/prefix notation, as there seems to be no equivalent RFC specifying the host address/prefix format, specify it ourselves. Signed-off-by: Tu Dinh --- docs/misc/xenstore-paths.pandoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/misc/xenstore-paths.pandoc b/docs/misc/xenstore-paths.pan= doc index 4994194..1fab3bf 100644 --- a/docs/misc/xenstore-paths.pandoc +++ b/docs/misc/xenstore-paths.pandoc @@ -78,12 +78,12 @@ VALUES are strings and can take the following forms: =20 * MAC_ADDRESS -- 6 integers, in hexadecimal form, separated by ':', specifying an IEEE 802.3 ethernet MAC address. -* IPV4_ADDRESS -- 4 integers, in decimal form, separated by '.', - specifying an IP version 4 address as described - IETF RFC 791. -* IPV6_ADDRESS -- Up to 8 integers, in hexadecimal form, separated - by ':', specifying an IP version 6 address as - described in IETF RFC 4291. +* IPV4_ADDRESS -- An IP version 4 address as specified by IETF RFC 791, + optionally appended with a "/prefix" value representing = the + prefix length of the host address's subnet, with "prefix" + being a decimal integer in the range of 0 to 32. +* IPV6_ADDRESS -- An IP version 6 address or abbreviated "address/prefix" + combination as specified by IETF RFC 4291 and RFC 5952. =20 Additional TAGS may follow as a comma separated set of the following tags enclosed in square brackets. --=20 2.54.0 --=20 Ngoc Tu Dinh | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech ---=Part.2214.db5f07a27187bb49.19ea6a32cbd.b115045ea227afa2=---