Skip to content

Commit 79612a2

Browse files
committed
vmm/boot_source: Remove amd-sev specific cmdline
At present, the amd-sev cmdline is overwritten by libkrunfw-sev. Just use the standard linux cmdline, as it will be overwritten anyway. Signed-off-by: Tyler Fanelli <[email protected]>
1 parent 5a90309 commit 79612a2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/vmm/src/vmm_config/boot_source.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@
33

44
use std::fmt::{Display, Formatter, Result};
55

6-
#[cfg(all(target_os = "linux", not(feature = "tee")))]
6+
#[cfg(target_os = "linux")]
77
pub const DEFAULT_KERNEL_CMDLINE: &str = "reboot=k panic=-1 panic_print=0 nomodule console=hvc0 \
88
rootfstype=virtiofs rw quiet no-kvmapf";
9-
#[cfg(feature = "amd-sev")]
10-
pub const DEFAULT_KERNEL_CMDLINE: &str = "reboot=k panic=-1 panic_print=0 nomodule console=hvc0 \
11-
root=/dev/vda rw quiet no-kvmapf";
129
#[cfg(target_os = "macos")]
1310
pub const DEFAULT_KERNEL_CMDLINE: &str = "reboot=k panic=-1 panic_print=0 nomodule console=hvc0 \
1411
rootfstype=virtiofs rw quiet no-kvmapf";

0 commit comments

Comments
 (0)