On 09.04.2025 08:45, Jiqian Chen wrote: > Current logic of init_header() only emulates legacy capability list > for guest, expand it to emulate for host too. So that it will be > easy to hide a capability whose initialization fails and no need > to distinguish host or guest.
Before I (maybe) look at the patch as a hole: When you say "guest" you mean "DomU" (which is a common pair of synonyms we use), whereas when you say "host" you mean "Dom0"? The latter is not a common pair of synonyms; "host" generally covers the entire system, including Xen and all domains. See e.g. wording that we use in XSAs. Jan