mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
main, vmm: Let the user define distincts memory zones
Introducing a new CLI option --memory-zone letting the user specify custom memory zones. When this option is present, the --memory size must be explicitly set to 0. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
committed by
Samuel Ortiz
parent
d25ec66bb6
commit
be475ddc22
@@ -448,6 +448,27 @@ components:
|
||||
topology:
|
||||
$ref: '#/components/schemas/CpuTopology'
|
||||
|
||||
MemoryZoneConfig:
|
||||
required:
|
||||
- size
|
||||
type: object
|
||||
properties:
|
||||
size:
|
||||
type: integer
|
||||
format: int64
|
||||
default: 512 MB
|
||||
file:
|
||||
type: string
|
||||
mergeable:
|
||||
type: boolean
|
||||
default: false
|
||||
shared:
|
||||
type: boolean
|
||||
default: false
|
||||
hugepages:
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
MemoryConfig:
|
||||
required:
|
||||
- size
|
||||
@@ -477,6 +498,10 @@ components:
|
||||
balloon:
|
||||
type: boolean
|
||||
default: false
|
||||
zones:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/MemoryZoneConfig'
|
||||
|
||||
KernelConfig:
|
||||
required:
|
||||
|
||||
Reference in New Issue
Block a user