mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 19:54:35 +00:00
runtime-rs: hypervisor: Remove debug kernel options
Removed the following kernel command line options: - `earlyprintk=ttyS0` - `initcall_debug` Both these options are only useful when debugging a guest kernel failure which is not a common occurrence. Further, the `earlyprintk=` option can have a large negative performance impact (it can increase the VM boot time significantly). If the user wishes to use either of these options, they can add them to the `kernel_params=` setting in the Kata configuration file's hypervisor stanza. Fixes: #7886. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
parent
52f6449b70
commit
976d10150c
@ -56,8 +56,6 @@ impl KernelParams {
|
||||
// default kernel params
|
||||
let mut params = vec![
|
||||
Param::new("reboot", "k"),
|
||||
Param::new("earlyprintk", "ttyS0"),
|
||||
Param::new("initcall_debug", ""),
|
||||
Param::new("panic", "1"),
|
||||
Param::new("systemd.unit", "kata-containers.target"),
|
||||
Param::new("systemd.mask", "systemd-networkd.service"),
|
||||
|
Loading…
Reference in New Issue
Block a user