mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-03 20:15:45 +00:00
main: Populate "--cpus" with appropriate syntax definition
This needed to be updated to include specifying the boot and maxmium vCPUs as well as the newly added topology for those vCPUs. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
4a0439a993
commit
284891b5df
@ -90,7 +90,10 @@ fn create_app<'a, 'b>(
|
||||
.arg(
|
||||
Arg::with_name("cpus")
|
||||
.long("cpus")
|
||||
.help("Number of virtual CPUs")
|
||||
.help(
|
||||
"boot=<boot_vcpus>,max=<max_vcpus>,\
|
||||
topology=<threads_per_core>:<cores_per_die>:<dies_per_package>:<packages>",
|
||||
)
|
||||
.default_value(&default_vcpus)
|
||||
.group("vm-config"),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user