vmm: Report enabled features from the '/vmm.ping' endpoint

Fixes: #5817

Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
Bo Chen
2023-10-04 11:20:34 -07:00
committed by Rob Bradford
parent 11838fca11
commit ff651e0e28
4 changed files with 31 additions and 0 deletions

View File

@@ -171,6 +171,7 @@ pub struct VmmPingResponse {
pub build_version: String,
pub version: String,
pub pid: i64,
pub features: Vec<String>,
}
#[derive(Clone, Deserialize, Serialize, Default, Debug)]

View File

@@ -445,6 +445,10 @@ components:
pid:
type: integer
format: int64
features:
type: array
items:
type: string
description: Virtual Machine Monitor information
VmInfo: