Skip to content

Commit

Permalink
Fix kernel command line for non-TEE targets
Browse files Browse the repository at this point in the history
Commit "00bd4c9" accidentally broke the kernel command line for non-TEE
targets. Fix it here.

Signed-off-by: Sergio Lopez <[email protected]>
  • Loading branch information
slp authored and tylerfanelli committed Nov 15, 2022
1 parent 5198081 commit 0e6ad9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vmm/src/vmm_config/boot_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ use std::fmt::{Display, Formatter, Result};
// i8042.noaux i8042.nomux i8042.nopnp i8042.dumbkbd";

#[cfg(all(target_os = "linux", not(feature = "tee")))]
pub const DEFAULT_KERNEL_CMDLINE: &str = "reboot=k panic=-1 panic_print=0 nomodules console= \
rootfstype=virtiofs rw no-kvmapf tsi_hijack";
pub const DEFAULT_KERNEL_CMDLINE: &str = "reboot=k panic=-1 panic_print=0 nomodules console=hvc0 \
rootfstype=virtiofs rw quiet no-kvmapf tsi_hijack";

#[cfg(feature = "amd-sev")]
pub const DEFAULT_KERNEL_CMDLINE: &str = "reboot=k panic=-1 panic_print=0 nomodules console=hvc0 \
Expand Down

0 comments on commit 0e6ad9b

Please sign in to comment.