On 24.11.2025 23:35, Jason Andryuk wrote:
> On a system without a control domain, a hardware|xenstore domain
> starting xenstored shows:
> common/grant_table.c:1041:d2v0 Could not find domain 32756
> gnttab: error: mmap failed: Invalid argument
> Could not initialize dom32756
> 
> setup_structure() does not get called without priv_domid.  Subsequent
> introduce_domain() calls will fault when calling fire_special_watches().
> 
> Default priv_domid to store_domid when there is no control domain.
> 
> Fixes: e5b0a9405571 ("tools/xenstored: Auto-introduce domains")
> Signed-off-by: Jason Andryuk <[email protected]>

Just to mention - unless told otherwise, the Fixes: tag here won't make
me take this change for backport, as I don't think a "system without
control domain" was deemed as thing back at the time.

Jan

Reply via email to