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

Re: [PATCH v1 2/2] docs: fusa: Add the requirements for some of the commands of XEN_VERSION


  • To: Julien Grall <julien.grall.oss@xxxxxxxxx>
  • From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Date: Thu, 30 Jan 2025 07:21:43 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=2; 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=6S0BMp9txL7FjgpkTkifbncfjx2WDu67UFdOFlgTyhg=; b=e2/xzxGQtoI0RLUaMMW/BpU6uFfYsAq0dwoB+j83hT7ighgclXYvcRbQOt1FMPUoi0cAs9wxa3PU8ihj5EoORPu9VvWyo+jgGogS8QLSoku2znB9TGISUi1DCOmz6Tr+2qV3hSC2dFuhRqHa2FCQemEI8ux5zKc/hzCroLkLx7MAtJR9bn37zpRLm3HxhtJfs+Kgu1Mx9IHzyaBhQTjNCvEFL2L2GZvsZzBKosqqDGajQde0uikREEtqgk2tnY4kjfjfk6OuNZtpLwF+ym7bHrA36WIeAz19EuxD4nOpgVZpP0Hyh3LQLW5/e/aQJJYEuxJVURTygoYdd3WYO2fLAg==
  • 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=6S0BMp9txL7FjgpkTkifbncfjx2WDu67UFdOFlgTyhg=; b=NGOVlTglHmEkwo/WFXz0nj+HkZgsOLNrtmzuua/o9U5DgqI0s4gYlG+I/yhC+vPNafcvwgr5tkNWIFXZbI6dwqmV7g6mDCd/CanOhVvp67TegQV/x/PSB0HZUxijFlsbWYJEAhVJdL+La8z3rpknzNsZp+POac4xbZdn3YuAIYIo+dDZgXMRNalYczJ9cPdhuN1EXU5hj5xEqu3KXsozH7B3uGrmPm/uzyt/8k0BJKpp1PeK65tQ15j+MzpUFMiD+1ZLAcJCGemPcqhgg1wgNPlw9Bcz3loDIVDT183aybK3GSLBLj8S1UfOQBjp62bUkf/1AzdO6bZlZzspBCdFvQ==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=XAehReU5zPkvJF11KJxjomRskAONyayaFNR78QSkOOTxDU9AfF0V9Zdc8iubL4SDUDvWz2z6Q/85ADBjza3onbBLSduXCOYbpwnrgAKPtH7tg/EgVPY+9s3hLLkQjoTsXkDSU8NEvj02xQ/8QNiYjeEH7/KPfWFd/GXxmW47oXwHBjsz9WI4EY26qC5gcJNHCB0slctl5aO9LsK0cioVnXeEVljj7IEwaeBjuMoggqomW8bYIVik1tAfe7YgsSF6VgLPnjoKUwdZAe+cCxd/CW3/xQRhgL1CAKO9nT/bGyN0dzpIge/Y9TsD9zhnK0OWz6ehXCf7cx9cFCSJnKkl2Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Ye/k+/2gQTLU8IzSFCJBdDAHeUamfc/P7gwfCjNFaI7/BeHIwFhPNhEdllrwtXxwFbvgOPoAfuvIigfuplNshkGNdpgflGs+TRrOtBJL1vHFhDAyQSVZE/G79XKIfJrbLyq163K8Tde9PXl8CgNzuh4YJ/Qt9cQOUzrpdE5rQUaUx2lWRl5aPiHWLNGcwZzlxv5+R2yOrC+5z626kCbH+Bzf1wsC+6p+toPwqxykol1ISZfo8bHv0La8kOsSygymJ7qaj2G7AEWGJ+BAj4Bslv0RiNG25G7+xYLitesAEd9JsGFm9m546i2Gegubfz0btaP7xD0y8YzC1j6Z9YTGkA==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Artem Mygaiev <artem_mygaiev@xxxxxxxx>
  • Delivery-date: Thu, 30 Jan 2025 07:22:05 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHbZr2QpA/avZzDqk6Vb2qnMvbcCbMt+LgAgAAEYwCAAEv4AIAAuJ4A
  • Thread-topic: [PATCH v1 2/2] docs: fusa: Add the requirements for some of the commands of XEN_VERSION

Hi Julien,

> On 29 Jan 2025, at 21:20, Julien Grall <julien.grall.oss@xxxxxxxxx> wrote:
> 
> 
> On Wed, 29 Jan 2025 at 12:49, Bertrand Marquis <Bertrand.Marquis@xxxxxxx> 
> wrote:
> Hi Julien,
> 
> Welcome back :-)
> 
> I am not fully back yet but I have a bit of spare time to go through 
> xen-devel :).

Then enjoy your remaining free time to, nothing urgent on the ML ;-)

> 
> 
> 
> > On 29 Jan 2025, at 16:33, Julien Grall <julien.grall.oss@xxxxxxxxx> wrote:
> > 
> > Hi,
> > 
> > On Tue, 14 Jan 2025 at 16:50, Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx> 
> > wrote:
> > We have written the requirements for some of the commands of the XEN_VERSION
> > hypercall.
> > 
> > Signed-off-by: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
> > ---
> >  .../design-reqs/arm64/version_hypercall.rst   | 33 ++++++++
> >  .../reqs/design-reqs/version_hypercall.rst    | 65 +++++++++++++++
> >  docs/fusa/reqs/index.rst                      |  2 +
> >  .../reqs/product-reqs/version_hypercall.rst   | 82 +++++++++++++++++++
> >  4 files changed, 182 insertions(+)
> >  create mode 100644 docs/fusa/reqs/design-reqs/arm64/version_hypercall.rst
> >  create mode 100644 docs/fusa/reqs/design-reqs/version_hypercall.rst
> > 
> > diff --git a/docs/fusa/reqs/design-reqs/arm64/version_hypercall.rst 
> > b/docs/fusa/reqs/design-reqs/arm64/version_hypercall.rst
> > new file mode 100644
> > index 0000000000..1dad2b84c2
> > --- /dev/null
> > +++ b/docs/fusa/reqs/design-reqs/arm64/version_hypercall.rst
> > @@ -0,0 +1,33 @@
> > +.. SPDX-License-Identifier: CC-BY-4.0
> > +
> > +Capabilities
> > +------------
> > +
> > +`XenSwdgn~arm64_capabilities~1`
> > +
> > +Description:
> > +Xen shall have a internal constant string storing "xen-3.0-aarch64".
> > 
> > Can you explain why we need to specify how Xen is storing the string? At 
> > least to me this feels a bit overkill. What matters is what/how the VM is 
> > seen.
> 
> This is a design requirement and as such it should be testable so it would be 
> easier to have something saying:
> Xen shall have a constant named XXX storing YYY.
> 
> Reading this, would it be better to tie to the variable in the makefile? This 
> would be closer to how a user would set it and how one would test it.

Definitely yes. The more direct the variable, the better it is.
As the Makefile variable is what we modify, I agree that this should point to 
it.

> 
> 
> 
> 
> Just saying "an internal constant" seem a bit limited here and not saying 
> much that could be tested easily.
> 
> Why do you think this would be an overkill ? do you expect the constant name 
> to change a lot ?
> 
> I don’t expect the constant name to change. It is more that this is an 
> internal implementation quite far to how the user would set it (see above).

Agree and the Makefile variable seems the best way.
All in all, the design just need to say that it must be stored somewhere 
"bounded" to the source code so that a tester can check it.

Cheers
Bertrand

> 
> Cheers,
> 
> 
> I would see more as an overkill the fact that the value is stored in a 
> requirement.
> 
> Cheers
> Bertrand



 


Rackspace

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