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:
James O. D. Hunt 2023-09-11 09:32:19 +01:00
parent 52f6449b70
commit 976d10150c

View File

@ -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"),