mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: api: ch-remote: Add balloon to VmResizeData
Signed-off-by: Hui Zhu <teawater@antfin.com>
This commit is contained in:
@@ -153,6 +153,7 @@ pub struct VmmPingResponse {
|
||||
pub struct VmResizeData {
|
||||
pub desired_vcpus: Option<u8>,
|
||||
pub desired_ram: Option<u64>,
|
||||
pub desired_ram_w_balloon: Option<u64>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Serialize, Default)]
|
||||
|
||||
@@ -680,6 +680,10 @@ components:
|
||||
description: desired memory ram in bytes
|
||||
type: integer
|
||||
format: int64
|
||||
desired_ram_w_balloon:
|
||||
description: desired ballon size in bytes
|
||||
type: integer
|
||||
format: int64
|
||||
|
||||
VmAddDevice:
|
||||
type: object
|
||||
|
||||
Reference in New Issue
Block a user