mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Extend --numa parameter with NUMA node distances
By introducing 'distances' option, we let the user describe a list of destination NUMA nodes with their associated distances compared to the current node (defined through 'id'). Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
@@ -721,6 +721,19 @@ components:
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
NumaDistance:
|
||||
required:
|
||||
- destination
|
||||
- distance
|
||||
type: object
|
||||
properties:
|
||||
destination:
|
||||
type: integer
|
||||
format: uint32
|
||||
distance:
|
||||
type: integer
|
||||
format: uint8
|
||||
|
||||
NumaConfig:
|
||||
required:
|
||||
- id
|
||||
@@ -734,6 +747,10 @@ components:
|
||||
items:
|
||||
type: integer
|
||||
format: uint8
|
||||
distances:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/NumaDistance'
|
||||
|
||||
VmResize:
|
||||
type: object
|
||||
|
||||
Reference in New Issue
Block a user