On 2025-03-06 20:32, Stefano Stabellini wrote:
On Thu, 6 Mar 2025, Jason Andryuk wrote:
Assign domid 0 to the hwdom. Normally, dom0less does not use domid 0.
This fixes using the Xen console which assumes domid 0 to use the
hypercall interface.
Signed-off-by: Jason Andryuk <jason.andr...@amd.com>
I hope there is a check already in the code somewhere that triggers an
error if multiple domains are created with domid 0 ?
Hmm, no, the existence check is in the domctl code and not in
domain_create(). The next patch in the series, "xen/arm: Add
capabilities to dom0less", adds a panic when trying to create a second
hardware_domain. That check could be moved here to keep it all together.
Regards,
Jason