mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
main, vmm: Add new --numa parameter
Through this new parameter, we give users the opportunity to specify a set of CPUs attached to a NUMA node that has been previously created from the --memory-zone parameter. This parameter will be extended in the future to describe the distance between multiple nodes. For instance, if a user wants to attach CPUs 0, 1, 2 and 6 to a NUMA node, here are two different ways of doing so: Either ./cloud-hypervisor ... --numa id=0,cpus=0-2:6 Or ./cloud-hypervisor ... --numa id=0,cpus=0:1:2:6 Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
@@ -413,6 +413,10 @@ components:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/SgxEpcConfig'
|
||||
numa:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/NumaConfig'
|
||||
iommu:
|
||||
type: boolean
|
||||
default: false
|
||||
@@ -717,6 +721,20 @@ components:
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
NumaConfig:
|
||||
required:
|
||||
- id
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
format: uint32
|
||||
cpus:
|
||||
type: array
|
||||
items:
|
||||
type: integer
|
||||
format: uint8
|
||||
|
||||
VmResize:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
Reference in New Issue
Block a user