mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 12:44:39 +00:00
versions: Update cloud-hypervisor to release v0.12.0
Highlights for cloud-hypervisor version v0.12.0 include: removal of `vhost-user-net` and `vhost-user-block` self spawning, migration of `vhost-user-fs` backend, ARM64 enhancements with full support of `--watchdog` for rebooting, and enhanced `info` HTTP API to include the details of devices used by the VM including VFIO devices. Fixes: #1315 Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
parent
4de21e3d95
commit
c2d14cdeea
@ -64,6 +64,7 @@ Class | Method | HTTP request | Description
|
|||||||
- [CpuTopology](docs/CpuTopology.md)
|
- [CpuTopology](docs/CpuTopology.md)
|
||||||
- [CpusConfig](docs/CpusConfig.md)
|
- [CpusConfig](docs/CpusConfig.md)
|
||||||
- [DeviceConfig](docs/DeviceConfig.md)
|
- [DeviceConfig](docs/DeviceConfig.md)
|
||||||
|
- [DeviceNode](docs/DeviceNode.md)
|
||||||
- [DiskConfig](docs/DiskConfig.md)
|
- [DiskConfig](docs/DiskConfig.md)
|
||||||
- [FsConfig](docs/FsConfig.md)
|
- [FsConfig](docs/FsConfig.md)
|
||||||
- [InitramfsConfig](docs/InitramfsConfig.md)
|
- [InitramfsConfig](docs/InitramfsConfig.md)
|
||||||
|
@ -504,6 +504,16 @@ components:
|
|||||||
id: id
|
id: id
|
||||||
mac: mac
|
mac: mac
|
||||||
mask: 255.255.255.0
|
mask: 255.255.255.0
|
||||||
|
device_tree:
|
||||||
|
key:
|
||||||
|
children:
|
||||||
|
- children
|
||||||
|
- children
|
||||||
|
pci_bdf: 6
|
||||||
|
resources:
|
||||||
|
- '{}'
|
||||||
|
- '{}'
|
||||||
|
id: id
|
||||||
properties:
|
properties:
|
||||||
config:
|
config:
|
||||||
$ref: '#/components/schemas/VmConfig'
|
$ref: '#/components/schemas/VmConfig'
|
||||||
@ -517,10 +527,39 @@ components:
|
|||||||
memory_actual_size:
|
memory_actual_size:
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
|
device_tree:
|
||||||
|
additionalProperties:
|
||||||
|
$ref: '#/components/schemas/DeviceNode'
|
||||||
|
type: object
|
||||||
required:
|
required:
|
||||||
- config
|
- config
|
||||||
- state
|
- state
|
||||||
type: object
|
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:
|
VmCounters:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
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) | |
|
**Config** | [**VmConfig**](VmConfig.md) | |
|
||||||
**State** | **string** | |
|
**State** | **string** | |
|
||||||
**MemoryActualSize** | **int64** | | [optional]
|
**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)
|
[[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"`
|
Config VmConfig `json:"config"`
|
||||||
State string `json:"state"`
|
State string `json:"state"`
|
||||||
MemoryActualSize int64 `json:"memory_actual_size,omitempty"`
|
MemoryActualSize int64 `json:"memory_actual_size,omitempty"`
|
||||||
|
DeviceTree map[string]DeviceNode `json:"device_tree,omitempty"`
|
||||||
}
|
}
|
||||||
|
@ -363,8 +363,30 @@ components:
|
|||||||
memory_actual_size:
|
memory_actual_size:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
|
device_tree:
|
||||||
|
type: object
|
||||||
|
additionalProperties:
|
||||||
|
$ref: '#/components/schemas/DeviceNode'
|
||||||
description: Virtual Machine information
|
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:
|
VmCounters:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
|
@ -75,7 +75,7 @@ assets:
|
|||||||
url: "https://github.com/cloud-hypervisor/cloud-hypervisor"
|
url: "https://github.com/cloud-hypervisor/cloud-hypervisor"
|
||||||
uscan-url: >-
|
uscan-url: >-
|
||||||
https://github.com/cloud-hypervisor/cloud-hypervisor/tags.*/v?(\d\S+)\.tar\.gz
|
https://github.com/cloud-hypervisor/cloud-hypervisor/tags.*/v?(\d\S+)\.tar\.gz
|
||||||
version: "270631922deee9bdea13635a104e111768446c7b"
|
version: "v0.12.0"
|
||||||
|
|
||||||
firecracker:
|
firecracker:
|
||||||
description: "Firecracker micro-VMM"
|
description: "Firecracker micro-VMM"
|
||||||
|
Loading…
Reference in New Issue
Block a user