mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-22 07:51:16 +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(
|
||||||
Arg::with_name("cpus")
|
Arg::with_name("cpus")
|
||||||
.long("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)
|
.default_value(&default_vcpus)
|
||||||
.group("vm-config"),
|
.group("vm-config"),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user