vmm, doc: Forbid same memory zone in multiple NUMA nodes

It is forbidden that the same memory zone belongs to more than one
NUMA node. This commit adds related validation to the `--numa`
parameter to prevent the user from specifying such configuration.

Signed-off-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
Henry Wang
2021-08-07 06:15:13 -04:00
committed by Sebastien Boeuf
parent f3197c3833
commit bcae6c41e3
2 changed files with 41 additions and 6 deletions

View File

@@ -441,6 +441,10 @@ Multiple values can be provided to define the list. Each value is a string
referring to an existing memory zone identifier. Values are separated from
each other with the `:` separator.
Note that a memory zone must belong to a single NUMA node. The following
configuration is incorrect, therefore not allowed:
`--numa guest_numa_id=0,memory_zones=mem0 guest_numa_id=1,memory_zones=mem0`
_Example_
```