QOSAI WSL = Windows Subsystem for Linux
Move printk.devkmsg and page_reporting_order to kernel command line (#40380)
Move printk.devkmsg=on from post-boot runtime writes in init to the kernel command line, ensuring it is applied at boot for both WSL2 and WSLC VMs. Also adds AppendCommonKernelCommandLine() helper in helpers.hpp/helpers.cpp to share common kernel parameters (hv_utils.timesync_implicit=1, printk.devkmsg=on, and page_reporting.page_reporting_order) between WslCoreVm and HcsVirtualMachine. N.B. kernel.dmesg_restrict, kernel.print-fatal-signals, and fs.inotify.max_user_watches are sysctl-only settings that cannot be set via kernel command line, so they remain as runtime writes in init. Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>