mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Introduce new --balloon parameter
This introduces a new way of defining the virtio-balloon device. Instead of going through the --memory parameter, the idea is to consider balloon as a standalone virtio device. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
@@ -410,6 +410,8 @@ components:
|
||||
$ref: '#/components/schemas/NetConfig'
|
||||
rng:
|
||||
$ref: '#/components/schemas/RngConfig'
|
||||
balloon:
|
||||
$ref: '#/components/schemas/BalloonConfig'
|
||||
fs:
|
||||
type: array
|
||||
items:
|
||||
@@ -647,6 +649,15 @@ components:
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
BalloonConfig:
|
||||
required:
|
||||
- size
|
||||
type: object
|
||||
properties:
|
||||
size:
|
||||
type: integer
|
||||
format: int64
|
||||
|
||||
FsConfig:
|
||||
required:
|
||||
- tag
|
||||
|
||||
Reference in New Issue
Block a user