On 14.04.2025 20:07, Alejandro Vallejo wrote: > On Wed Apr 9, 2025 at 11:15 PM BST, Denis Mukhin wrote: >> On Tuesday, April 8th, 2025 at 9:07 AM, Alejandro Vallejo <agarc...@amd.com> >> wrote: >>> @@ -233,6 +264,12 @@ static int __init process_domain_node( >>> return -ENODATA; >>> } >>> >>> + if ( bd->domid == DOMID_INVALID ) >>> >>> + bd->domid = get_initial_domain_id(); >>> >>> + else if ( bd->domid != get_initial_domain_id() ) >>> >>> + printk(XENLOG_WARNING >>> + "WARN: Booting without initial domid not supported.\n"); >> >> Drop WARN since the log message is XENLOG_WARNING level already? > > As mentioned elsewhere, the point of those prefixes are to be readable.
This, however, imo is a matter of consistency across the codebase, not just within hyperlaunch. Plus (again imo) if anything, prefixes that are part of the log output should contain proper words ("Warning:" or "Error:"), and they shouldn't needlessly "shout" (i.e. "FATAL:" is okay-ish to be all caps, but the others aren't). Jan