mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Add 'hotplug_size' to memory zones
In anticipation for resizing support of an individual memory zone, this commit introduces a new option 'hotplug_size' to '--memory-zone' parameter. This defines the amount of memory that can be added through each specific memory zone. Because memory zone resize is tied to virtio-mem, make sure the user selects 'virtio-mem' hotplug method, otherwise return an error. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
@@ -477,6 +477,9 @@ components:
|
||||
host_numa_node:
|
||||
type: integer
|
||||
format: uint32
|
||||
hotplug_size:
|
||||
type: integer
|
||||
format: int64
|
||||
|
||||
MemoryConfig:
|
||||
required:
|
||||
|
||||
Reference in New Issue
Block a user