mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 19:32:20 +00:00
cli: Fix default CPU argument
By default, and in order to avoid falling into the legacy CLI usage, the CPU argument should at least include "boot=" to define the number of CPUs. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
parent
59ae01ff71
commit
f7c215d92d
@ -79,7 +79,7 @@ fn main() {
|
||||
}
|
||||
}
|
||||
|
||||
let default_vcpus = format! {"{}", config::DEFAULT_VCPUS};
|
||||
let default_vcpus = format! {"boot={}", config::DEFAULT_VCPUS};
|
||||
let default_memory = format! {"size={}M", config::DEFAULT_MEMORY_MB};
|
||||
let default_rng = format! {"src={}", config::DEFAULT_RNG_SOURCE};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user