vmm: api: include BUILD_VERSION and CH pid in VmmPingResponse

Signed-off-by: Omer Faruk Bayram <omer.faruk@sartura.hr>
This commit is contained in:
Omer Faruk Bayram
2023-04-07 11:22:08 +03:00
committed by Bo Chen
parent 59012ccc6e
commit 346ee09e6b
4 changed files with 36 additions and 7 deletions

View File

@@ -165,7 +165,9 @@ pub struct VmInfo {
#[derive(Clone, Deserialize, Serialize)]
pub struct VmmPingResponse {
pub build_version: String,
pub version: String,
pub pid: i64,
}
#[derive(Clone, Deserialize, Serialize, Default, Debug)]

View File

@@ -438,8 +438,13 @@ components:
- version
type: object
properties:
build_version:
type: string
version:
type: string
pid:
type: integer
format: int64
description: Virtual Machine Monitor information
VmInfo: