On 2025-03-17 10:13, Jan Beulich wrote:
On 06.03.2025 23:03, Jason Andryuk wrote:
To hyperlaunch xenstore, we want it to automatically introduce all
domains it finds while initializing.  To do that, change xsm_sysctl to
allow XS_PRIV to call XEN_SYSCTL_getdomaininfolist.

Xenstore can already call XEN_DOMCTL_getdomaininfo for the same
information, but it requires knowing the domid.
XEN_SYSCTL_getdomaininfolist eliminates the need to guess domains.

Yet then - is it a good idea to make such changes here for the sake of a
new feature? If existing Xenstore was enhanced to use this, I'd find it
easier to accept the change. Otherwise can't the hyperlaunched Xenstore
behave like the "normal" one, not needing the change here to be made?

Sorry, the description is a lacking. It was originally written for xenstore stubdom, but I pulled it over for this dom0less work. With a combined xenstore & hardware domain, and running init-dom0less, it was a needed permission.

In light of Juergen's libxenmanage work, this may not longer by applicable for xenstore stubdom. And I'll re-evaluate with dom0less side re-work.

Thanks,
Jason

Reply via email to