On 15/05/18 19:06, Dan Williams wrote: > On Tue, May 15, 2018 at 7:19 AM, George Dunlap <george.dun...@citrix.com> > wrote: >> On 05/11/2018 05:33 PM, Dan Williams wrote: >> >> This is all pretty foundational. Xen can read static ACPI tables, but >> it can't do AML. So to do a proper design for Xen, we need to know: > Oooh, ok, no AML in Xen... > >> 1. If Xen can find out, without Linux's help, what namespaces exist and >> if there is one it can use for its own purposes > Yeah, no, not without calling AML methods.
One particularly thorny issue with Xen's architecture is the ownership of the ACPI OSPM, and the fact that there can only be one in the system. Dom0 has to be the OSPM in practice, as we don't want to port most of the Linux drivers and infrastructure in the hypervisor. If we knew a priori that certain AML methods had no side effects, then we could in principle execute them from the hypervisor, but this is an undecideable problem in general. As a result, everything involving AML requires dom0 to decipher the information and passing it to Xen at boot. ~Andrew _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel