mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 03:57:24 +00:00
crosvm: cmdline: Improve "devices"'s help for block device
Describe the `vhost=<socket>` option, which is not in `crosvm run`'s help. BUG=none TEST=crosvm devices --help Change-Id: If95e3eaf8d11632de9034a3ac3b44ecd377e887a Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4054810 Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Auto-Submit: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
This commit is contained in:
parent
d9d74da342
commit
6adf8e8a15
1 changed files with 8 additions and 1 deletions
|
@ -93,7 +93,14 @@ pub struct DevicesCommand {
|
|||
pub serial: Vec<VhostUserParams<SerialParameters>>,
|
||||
|
||||
#[argh(option, arg_name = "block options")]
|
||||
/// start a block device (see help from run command for options)
|
||||
/// start a block device.
|
||||
/// The value must be a comma separated key-value pairs in the
|
||||
/// form of `vhost=PATH[,block options]`.
|
||||
/// Possible key values:
|
||||
/// vhost=PATH - Path to a vhost-user endpoint to listen to.
|
||||
/// This parameter must be given in first position.
|
||||
/// block options:
|
||||
/// See help from `crosvm run` command.
|
||||
pub block: Vec<VhostUserParams<DiskOption>>,
|
||||
|
||||
#[argh(option, short = 's', arg_name = "PATH")]
|
||||
|
|
Loading…
Reference in a new issue