mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 21:55:20 +00:00
main: Extend cpus parameter syntax
Extend the existing list of options available for the 'cpus' parameter with the newly added option 'affinity'. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
b000b303e2
commit
e2bd35f4bb
@ -150,7 +150,8 @@ fn create_app<'a, 'b>(
|
|||||||
.help(
|
.help(
|
||||||
"boot=<boot_vcpus>,max=<max_vcpus>,\
|
"boot=<boot_vcpus>,max=<max_vcpus>,\
|
||||||
topology=<threads_per_core>:<cores_per_die>:<dies_per_package>:<packages>,\
|
topology=<threads_per_core>:<cores_per_die>:<dies_per_package>:<packages>,\
|
||||||
kvm_hyperv=on|off,max_phys_bits=<maximum_number_of_physical_bits>",
|
kvm_hyperv=on|off,max_phys_bits=<maximum_number_of_physical_bits>,\
|
||||||
|
affinity=<list_of_vcpus_with_their_associated_cpuset>",
|
||||||
)
|
)
|
||||||
.default_value(default_vcpus)
|
.default_value(default_vcpus)
|
||||||
.group("vm-config"),
|
.group("vm-config"),
|
||||||
|
Loading…
Reference in New Issue
Block a user