mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
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:
@@ -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)]
|
||||
|
||||
@@ -445,6 +445,10 @@ components:
|
||||
pid:
|
||||
type: integer
|
||||
format: int64
|
||||
features:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
description: Virtual Machine Monitor information
|
||||
|
||||
VmInfo:
|
||||
|
||||
Reference in New Issue
Block a user