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

Re: [PATCH v6 5/6] arm/dom0less: assign dom0less guests to cpupools



On 08.04.22 11:10, Jan Beulich wrote:
On 08.04.2022 10:45, Luca Fancellu wrote:
@@ -106,6 +106,8 @@ struct xen_domctl_createdomain {
      /* Per-vCPU buffer size in bytes.  0 to disable. */
      uint32_t vmtrace_size;
+ uint32_t cpupool_id;

This could do with a comment explaining default behavior. In particular
I wonder what 0 means: Looking at cpupool_destroy() I can't see that it
would be impossible to delete pool 0 (but there may of course be
reasons elsewhere, e.g. preventing pool 0 to ever go empty) - Jürgen?

Yes, I think destroying of cpupool 0 in a dom0less system should be
prohibited, assuming there is a control domain being able to destroy
a cpupool in a dom0less system.

Main reason is that cpupool 0 has a special role e.g. during domain
destruction (see domain_kill()) and for cpu hotplug operations.


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


 


Rackspace

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