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

Re: [PATCH] docs: fusa: Add dom0less domain configuration requirements


  • To: Julien Grall <julien@xxxxxxx>, Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Ayan Kumar Halder <ayankuma@xxxxxxx>
  • Date: Mon, 18 Nov 2024 10:28:25 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none
  • 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=vqGvwZQ7+umrPK+0Vf2LsN3A3AWRRUWpNDEZg93tmL8=; b=DtBXHSZbMb1zUAER/NpGbiNXbs6P+hAfvXdkYnsDkJjclEXJaz/c1tJI5RIYdirZg7Ob8nYgy8nqLAx7lp44uqF8CEnbYgWMZPLYH9o7KoH/uMWq59x8gARWa6i0Ujo6bwlRufQTSvyCvbqlD2d8mE3D0iGnS+9a6On+oMJOWuUeofEg6Wperu6aVqr5qe8bGaF5SvLM6lRSBDVP1OlJ48bEHLPooZN4n2vjXHiOxuHh7hKx1eb8Uba/r4KOuTj57zFIxcoj7WL8LpJDEJOwy/wnPyXZvKH+7UBQYb/n1LCgIkKo7QJ0oHYYPx9BtP/2FCvTGIVOyYMVmsu+iT/bQg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=E9esWYeMF02ZQQVAGN3Qla3ShK8E4aaWCaAPlZR3Zw5dRS0VTAP0RvdRbT5VD0QbP5dmfYFAP0Lke+E03XbuI5HjcE8cXTpvFSCqG/b162PhM7VLWBFRMADkAmZkQ3+KpSYeyDtjpKtgeJGp65hKME4cJUZ1qmpkDHiT97drtwo1lRA3PYjo6Nxbp6mvyW/V4UYSQhWP5kHPI2ioZDzNLimRThPS/GcPtQ0hCyUNE0jkO8EwgDy2hk/ilZol1/FxlksljehL8Z3oSvtLCZ+fppeDvLwU1fTumCb7JRlAEjPgVCUdC5W8CTIHMuH4X2HhKWSY6koonkfSDr/UtLqpbg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Cc: Michal Orzel <michal.orzel@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Artem Mygaiev <artem_mygaiev@xxxxxxxx>, Munakata Hisao <hisao.munakata.vt@xxxxxxxxxxx>
  • Delivery-date: Mon, 18 Nov 2024 10:28:56 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>


On 16/11/2024 09:57, Julien Grall wrote:
Hi Ayan,
Hi Julien,

On 15/11/2024 18:53, Ayan Kumar Halder wrote:
+Assign vCPUs from CPU pool
+--------------------------
+
+`XenSwdgn~arm64_assign_vcpus_cpu_pool~1`
+
+Description:
+Xen shall assign vCPUs to a domain from a CPU pool.

Same remark about the wording. You create a domain with N vCPUs and *assign* a CPU pool to a domain.

Ok, so all the previous 3 requirements can be merged into

Xen shall create a domain with N vCPUs and assign a CPU pool to a domain.

Or

Xen shall create a domain with N vCPUs.

I think this one is better because it is not mandatory for the user to select a CPU pool and you will have it ...
Ok, I will keep this.


(which of the two looks better to you if we keep the next requirement ?)

... by the next one.


Comments:

Here N is determined by the device tree configuration provided by the user.

You also assign pCPU to a CPU pool.

But I am not sure about if this requirement is actually necessary given ...

+
+Rationale:
+
+Comments:
+
+Covers:
+ - `XenProd~static_domains_configuration~1`
+
+Specify CPU pool scheduler
+--------------------------
+
+`XenSwdgn~arm64_specify_cpu_pool_scheduler~1`
+
+Description:
+Xen shall assign a CPU pool scheduler to a domain.

... you have th is one.
So, we can keep it as it is.

+
+Rationale:
+
+Comments:
+
+Covers:
+ - `XenProd~static_domains_configuration~1`
+
+Assign virtual UART
+-------------------
+
+`XenSwdgn~arm64_assign_virtual_uart~1`
+
+Description:
+Xen shall assign a virtual UART to a domain.

Are we talking about the virtual PL011 or the fake emulation of the real UART we do?
virtual PL011.

Is it possible to specify it in the market requirements?

We are talking about Xen's ability to **specify** virtual PL011 to a domain.

So, it should be a part of design requirement. Please see further ...


[...]

+
+Static VM definition
+--------------------
+
+`XenMkt~static_vm_definition~1`
+
+Description:
+Xen shall support specifying resources for a domain.

Compare to the other requirements, this is quite a vague. Should we list the resources?

The list of resources depends on what the user has provided in the device tree configuration.

But the requirement is correct as it is. Xen allows direct assignment of devices to domains (ie passthrough).

How do you want to write it ?

This is probably a better question for Bertrand. I don't know how market requirements are usually described. I was making a comparison with the other where you explicitely listed the expected resources (e.g. CPU, Memory, device).

In this case, the market requirement is "Xen shall support *specifying* resources for a domain".

Here, it doesn't really matter what the resources are. What matters, is Xen's ability to specify resources for creating a domain.

Now, if you look at the design requirements, we say Xen shall support specifying uImage, zImage, vpl011, ramdisk, no of spis, etc. So these are the resources that can be specified.

Tomorrow, we can add more resources which will imply that new design requirements will be created/modified. However, the market requirement stays the same.

Please let me know if it makes sense ?

- Ayan



 


Rackspace

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