diff options
author | Daniel Verkamp <dverkamp@chromium.org> | 2019-11-08 13:09:27 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-03-09 17:58:33 +0000 |
commit | 4b62cd94989ab25e7abd48b9d4153725cd9de257 (patch) | |
tree | 7abc8b2e619210bef350ef9cddacfb8c31a7f248 /src | |
parent | 9515b05c086c55b9e3fbddbc56fb6eb3e9a510a8 (diff) | |
download | crosvm-4b62cd94989ab25e7abd48b9d4153725cd9de257.tar crosvm-4b62cd94989ab25e7abd48b9d4153725cd9de257.tar.gz crosvm-4b62cd94989ab25e7abd48b9d4153725cd9de257.tar.bz2 crosvm-4b62cd94989ab25e7abd48b9d4153725cd9de257.tar.lz crosvm-4b62cd94989ab25e7abd48b9d4153725cd9de257.tar.xz crosvm-4b62cd94989ab25e7abd48b9d4153725cd9de257.tar.zst crosvm-4b62cd94989ab25e7abd48b9d4153725cd9de257.zip |
crosvm: remove deprecated --qcow and --rwqcow options
These have been marked as deprecated for several release; use --disk or --rwdisk instead. BUG=None TEST=./build_test.py Change-Id: I8a52c9abaf3f41e2dfc4189dd19c7d828802772e Signed-off-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1906992 Reviewed-by: Zach Reizner <zachr@chromium.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index ce3e660..8ed85fb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -516,7 +516,7 @@ fn set_argument(cfg: &mut Config, name: &str, value: Option<&str>) -> argument:: syslog::set_proc_name(value.unwrap()); cfg.syslog_tag = Some(value.unwrap().to_owned()); } - "root" | "rwroot" | "disk" | "rwdisk" | "qcow" | "rwqcow" => { + "root" | "rwroot" | "disk" | "rwdisk" => { let param = value.unwrap(); let mut components = param.split(','); let read_only = !name.starts_with("rw"); @@ -1162,10 +1162,8 @@ fn run_vm(args: std::env::Args) -> std::result::Result<(), ()> { Valid keys: sparse=BOOL - Indicates whether the disk should support the discard operation (default: true) block_size=BYTES - Set the reported block size of the disk (default: 512)"), - Argument::value("qcow", "PATH", "Path to a qcow2 disk image. (Deprecated; use --disk instead.)"), Argument::value("rwdisk", "PATH[,key=value[,key=value[,...]]", "Path to a writable disk image followed by optional comma-separated options. See --disk for valid options."), - Argument::value("rwqcow", "PATH", "Path to a writable qcow2 disk image. (Deprecated; use --rwdisk instead.)"), Argument::value("rw-pmem-device", "PATH", "Path to a writable disk image."), Argument::value("pmem-device", "PATH", "Path to a disk image."), Argument::value("pstore", "path=PATH,size=SIZE", "Path to pstore buffer backend file follewed by size."), |