mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Add 'hotplugged_size' to memory parameters
Add the new option 'hotplugged_size' to both --memory-zone and --memory parameters so that we can let the user specify a certain amount of memory being plugged at boot. This is also part of making sure we can store the virtio-mem size over a reboot of the VM. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
@@ -496,6 +496,9 @@ components:
|
||||
hotplug_size:
|
||||
type: integer
|
||||
format: int64
|
||||
hotplugged_size:
|
||||
type: integer
|
||||
format: int64
|
||||
|
||||
MemoryConfig:
|
||||
required:
|
||||
@@ -509,6 +512,9 @@ components:
|
||||
hotplug_size:
|
||||
type: integer
|
||||
format: int64
|
||||
hotplugged_size:
|
||||
type: integer
|
||||
format: int64
|
||||
mergeable:
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
Reference in New Issue
Block a user