Skip to content

Commit 587c49d

Browse files
committed
vmm/boot_source: remove obsolete doc comments
Signed-off-by: Sergio Lopez <[email protected]>
1 parent 523d5f9 commit 587c49d

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/vmm/src/vmm_config/boot_source.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,16 @@
33

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

6-
/// Default guest kernel command line:
7-
/// - `reboot=k` shut down the guest on reboot, instead of well... rebooting;
8-
/// - `panic=1` on panic, reboot after 1 second;
9-
/// - `pci=off` do not scan for PCI devices (save boot time);
10-
/// - `nomodule` disable loadable kernel module support;
11-
/// - `8250.nr_uarts=0` disable 8250 serial interface;
12-
/// - `i8042.noaux` do not probe the i8042 controller for an attached mouse (save boot time);
13-
/// - `i8042.nomux` do not probe i8042 for a multiplexing controller (save boot time);
14-
/// - `i8042.nopnp` do not use ACPIPnP to discover KBD/AUX controllers (save boot time);
15-
/// - `i8042.dumbkbd` do not attempt to control kbd state via the i8042 (save boot time).
16-
//pub const DEFAULT_KERNEL_CMDLINE: &str = "reboot=k panic=1 pci=off nomodule 8250.nr_uarts=0 \
17-
// i8042.noaux i8042.nomux i8042.nopnp i8042.dumbkbd";
18-
196
#[cfg(all(target_os = "linux", not(feature = "tee")))]
207
pub const DEFAULT_KERNEL_CMDLINE: &str = "reboot=k panic=-1 panic_print=0 nomodule console=hvc0 \
218
rootfstype=virtiofs rw quiet no-kvmapf";
22-
239
#[cfg(feature = "amd-sev")]
2410
pub const DEFAULT_KERNEL_CMDLINE: &str = "reboot=k panic=-1 panic_print=0 nomodule console=hvc0 \
2511
root=/dev/vda rw quiet no-kvmapf";
2612
#[cfg(target_os = "macos")]
2713
pub const DEFAULT_KERNEL_CMDLINE: &str = "reboot=k panic=-1 panic_print=0 nomodule console=hvc0 \
2814
rootfstype=virtiofs rw quiet no-kvmapf";
2915

30-
//pub const DEFAULT_KERNEL_CMDLINE: &str = "reboot=k panic=1 pci=off nomodule earlyprintk=ttyS0 \
31-
// console=ttyS0";
32-
3316
/// Strongly typed data structure used to configure the boot source of the
3417
/// microvm.
3518
#[derive(Debug, Default, Eq, PartialEq)]

0 commit comments

Comments
 (0)