On Wed, 16 Jul 2025, Jason Andryuk wrote: > To add more flexibility in system configuration add the new > DOMAIN_CAPS_DEVICE_MODEL flag and XEN_DOMCTL_CDF_device_model. > > Thie new flag corresponds to allowing XSM_DM_PRIV for the domain. This > will enable running device model emulators (QEMU) from the assigned > domain for multiple target domains. > > Stubdoms assign target allowing the stubdom to serve as the device > model for a single domain. This new flag allows the single domain to > provide emulators for multiple guests. > > The specific scenario is a disaggregated system with the hardware domain > providing device models for multiple guest domains. > > This permission is also enough to run xenconsoled in the hardware > domain. This is a byproduct of getdomaininfo being available. The > grant permissions are also configured for the console page. > > The OCaml code needs the flag added in as well. > > Signed-off-by: Jason Andryuk <jason.andr...@amd.com> > Acked-by: Christian Lindig <christian.lin...@cloud.com>
Reviewed-by: Stefano Stabellini <sstabell...@kernel.org>