hyperhq / runv

Hypervisor-based Runtime for OCI
Apache License 2.0
826 stars 129 forks source link

Support set vcpu number #586

Closed gnawux closed 7 years ago

gnawux commented 7 years ago

The hypervisor driver package support configure vCPU number(code here), however, we could not setup it through runv command line.

As oci spec does not specified it. There are several alternatives:

@jovizhangwei suggest we could use the docker --cpus value because it works well with many 3rd party control console (such as Docker UCP).