main, vmm: Add mandatory id to memory zones

In anticipation for allowing memory zones to be removed, but also in
anticipation for refactoring NUMA parameter, we introduce a mandatory
'id' option to the --memory-zone parameter.

This forces the user to provide a unique identifier for each memory zone
so that we can refer to these.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2020-09-03 20:06:38 +02:00
parent c37fb5b602
commit 3ff82b4b65
4 changed files with 14 additions and 1 deletions

View File

@@ -453,9 +453,12 @@ components:
MemoryZoneConfig:
required:
- id
- size
type: object
properties:
id:
type: string
size:
type: integer
format: int64