mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-05 21:15:45 +00:00
main: Remove "--vhost-user-net"
This option was superseded by using "--net" with "vhost_user=true". This option wasn't being parsed any more but was left over. Fixes: #806 Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
8d785bbd5f
commit
4f2469e054
11
src/main.rs
11
src/main.rs
@ -206,17 +206,6 @@ fn create_app<'a, 'b>(
|
|||||||
.min_values(1)
|
.min_values(1)
|
||||||
.group("vm-config"),
|
.group("vm-config"),
|
||||||
)
|
)
|
||||||
.arg(
|
|
||||||
Arg::with_name("vhost-user-net")
|
|
||||||
.long("vhost-user-net")
|
|
||||||
.help(
|
|
||||||
"Network parameters \"mac=<mac_addr>,sock=<socket_path>, \
|
|
||||||
num_queues=<number_of_queues>,queue_size=<size_of_each_queue>\"",
|
|
||||||
)
|
|
||||||
.takes_value(true)
|
|
||||||
.min_values(1)
|
|
||||||
.group("vm-config"),
|
|
||||||
)
|
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("vsock")
|
Arg::with_name("vsock")
|
||||||
.long("vsock")
|
.long("vsock")
|
||||||
|
Loading…
Reference in New Issue
Block a user