mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-12 20:39:30 +00:00
Merge pull request #1321 from likebreath/clh_v0.12.0
versions: Update cloud-hypervisor to release v0.12.0
This commit is contained in:
@@ -64,6 +64,7 @@ Class | Method | HTTP request | Description
|
||||
- [CpuTopology](docs/CpuTopology.md)
|
||||
- [CpusConfig](docs/CpusConfig.md)
|
||||
- [DeviceConfig](docs/DeviceConfig.md)
|
||||
- [DeviceNode](docs/DeviceNode.md)
|
||||
- [DiskConfig](docs/DiskConfig.md)
|
||||
- [FsConfig](docs/FsConfig.md)
|
||||
- [InitramfsConfig](docs/InitramfsConfig.md)
|
||||
|
@@ -504,6 +504,16 @@ components:
|
||||
id: id
|
||||
mac: mac
|
||||
mask: 255.255.255.0
|
||||
device_tree:
|
||||
key:
|
||||
children:
|
||||
- children
|
||||
- children
|
||||
pci_bdf: 6
|
||||
resources:
|
||||
- '{}'
|
||||
- '{}'
|
||||
id: id
|
||||
properties:
|
||||
config:
|
||||
$ref: '#/components/schemas/VmConfig'
|
||||
@@ -517,10 +527,39 @@ components:
|
||||
memory_actual_size:
|
||||
format: int64
|
||||
type: integer
|
||||
device_tree:
|
||||
additionalProperties:
|
||||
$ref: '#/components/schemas/DeviceNode'
|
||||
type: object
|
||||
required:
|
||||
- config
|
||||
- state
|
||||
type: object
|
||||
DeviceNode:
|
||||
example:
|
||||
children:
|
||||
- children
|
||||
- children
|
||||
pci_bdf: 6
|
||||
resources:
|
||||
- '{}'
|
||||
- '{}'
|
||||
id: id
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
resources:
|
||||
items:
|
||||
type: object
|
||||
type: array
|
||||
children:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
pci_bdf:
|
||||
format: int32
|
||||
type: integer
|
||||
type: object
|
||||
VmCounters:
|
||||
additionalProperties:
|
||||
additionalProperties:
|
||||
|
@@ -0,0 +1,14 @@
|
||||
# DeviceNode
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Id** | **string** | | [optional]
|
||||
**Resources** | **[]map[string]interface{}** | | [optional]
|
||||
**Children** | **[]string** | | [optional]
|
||||
**PciBdf** | **int32** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
||||
**Config** | [**VmConfig**](VmConfig.md) | |
|
||||
**State** | **string** | |
|
||||
**MemoryActualSize** | **int64** | | [optional]
|
||||
**DeviceTree** | [**map[string]DeviceNode**](DeviceNode.md) | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Cloud Hypervisor API
|
||||
*
|
||||
* Local HTTP based API for managing and inspecting a cloud-hypervisor virtual machine.
|
||||
*
|
||||
* API version: 0.3.0
|
||||
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
|
||||
*/
|
||||
|
||||
package openapi
|
||||
// DeviceNode struct for DeviceNode
|
||||
type DeviceNode struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Resources []map[string]interface{} `json:"resources,omitempty"`
|
||||
Children []string `json:"children,omitempty"`
|
||||
PciBdf int32 `json:"pci_bdf,omitempty"`
|
||||
}
|
@@ -13,4 +13,5 @@ type VmInfo struct {
|
||||
Config VmConfig `json:"config"`
|
||||
State string `json:"state"`
|
||||
MemoryActualSize int64 `json:"memory_actual_size,omitempty"`
|
||||
DeviceTree map[string]DeviceNode `json:"device_tree,omitempty"`
|
||||
}
|
||||
|
@@ -363,8 +363,30 @@ components:
|
||||
memory_actual_size:
|
||||
type: integer
|
||||
format: int64
|
||||
device_tree:
|
||||
type: object
|
||||
additionalProperties:
|
||||
$ref: '#/components/schemas/DeviceNode'
|
||||
description: Virtual Machine information
|
||||
|
||||
DeviceNode:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
resources:
|
||||
type: array
|
||||
items:
|
||||
# Rust enum type (with data) which can't be better represented here
|
||||
type: object
|
||||
children:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
pci_bdf:
|
||||
type: integer
|
||||
format: int32
|
||||
|
||||
VmCounters:
|
||||
type: object
|
||||
additionalProperties:
|
||||
|
Reference in New Issue
Block a user