cloud-hypervisor/src
Rob Bradford cafab9e981 main: Add some command line argument conflicts
Add explicit exclusions with --net-backend from --block-backend (and
vice-versa.) And also with "--kernel" as this is the option for "VM boot" that is never optional.

Ideally we would conflcit the backend arguments against the "vm-group"
however this does not work as it includes some arguments that have a
default value set and thus clap thinks those arguments are always
provided. Conflicting with "--kernel" is thus a reasonable compromise.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2020-01-23 10:30:06 +00:00
..
bin vhost_user_block: Split launching backend into its own function 2020-01-23 10:30:06 +00:00
main.rs main: Add some command line argument conflicts 2020-01-23 10:30:06 +00:00