On 11.06.2025 00:57, 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 assigne > 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 muitple guest domains.
Why the hardware domain? Unless a DM also needs access to some of the physical hardware, it ought to run in a separate domain. Conceivably such a domain could service multiply guests, so maybe the "single target" concept presently used for stubdom simply needed extending? Jan