Hi,
On 12/11/2014 10:44, Christoffer Dall wrote:
I'm not a fan of placing fundamentally required system description on
the command line. It's fine for explicit overrides but I don't think it
should be the default mechanism as that causes its own set of problems
(who wants to fight with their hypervisor to pass a command line to a
guest kernel?).
Agreed completely, but I've been lacking strong technical arguments
against passing this stuff on the cmdline. My personal preferred
approach for the Xen Dom0 case is to add a property to the DT.
IHMO, the cmdline is OS specific, therefore this solution wouldn't fit
to support ACPI on other OS (i.e *BSD) without requiring specific
implementation/parsing of the command line.
The DT solution would be cleaner and the bindings are already
standardize (and starting to be used on other OS such as FreeBSD).
Regards,
--
Julien Grall