mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
crosvm: cmdline: remove JailConfig from run
arguments
This member is never used since jail configuration is set up using other flags to remain compatible with the way `run` was working pre-argh. Furthermore, having it here makes a `jail-config` command-line option appears in the help text that is a no-op. BUG=None TEST=cargo build Change-Id: I715ac80270e7b775926c7ca8759e22e5f7c15014 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3744909 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Junichi Uekawa <uekawa@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
This commit is contained in:
parent
06e6f41576
commit
a99ad34826
1 changed files with 1 additions and 4 deletions
|
@ -59,7 +59,7 @@ use crate::crosvm::config::{
|
|||
numbered_disk_option, parse_battery_options, parse_bus_id_addr, parse_cpu_affinity,
|
||||
parse_cpu_capacity, parse_cpu_set, parse_file_backed_mapping, parse_mmio_address_range,
|
||||
parse_pstore, parse_serial_options, parse_stub_pci_parameters, Executable,
|
||||
FileBackedMappingParameters, JailConfig, TouchDeviceOption, VhostUserFsOption, VhostUserOption,
|
||||
FileBackedMappingParameters, TouchDeviceOption, VhostUserFsOption, VhostUserOption,
|
||||
VhostUserWlOption, VvuOption,
|
||||
};
|
||||
#[cfg(feature = "direct")]
|
||||
|
@ -685,9 +685,6 @@ pub struct RunCommand {
|
|||
#[argh(switch)]
|
||||
/// allow to enable ITMT scheduling feature in VM. The success of enabling depends on HWP and ACPI CPPC support on hardware
|
||||
pub itmt: bool,
|
||||
#[argh(option)]
|
||||
/// jail config
|
||||
pub jail_config: Option<JailConfig>,
|
||||
#[cfg(unix)]
|
||||
#[argh(option, long = "kvm-device", arg_name = "PATH")]
|
||||
/// path to the KVM device. (default /dev/kvm)
|
||||
|
|
Loading…
Reference in a new issue