mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 23:11:57 +00:00
versions: Upgrade to Cloud Hypervisor v17.0
Highlights from the Cloud Hypervisor release v17.0: 1) ARM64 NUMA support using ACPI; 2) `Seccomp` support for MSHV backend; 3) Hotplug of macvtap devices; 4) Improved SGX support; 5) Inflight tracking for `vhost-user` devices; 6) Bug fixes. Details can be found: https://github.com/cloud-hypervisor/cloud-hypervisor/releases/tag/v17.0 Note: The client code of cloud-hypervisor's OpenAPI is automatically generated by `openapi-generator` [1-2]. As the API changes do not impact usages in Kata, no additional changes in kata's runtime are needed to work with the current version of cloud-hypervisor. [1] https://github.com/OpenAPITools/openapi-generator [2] https://github.com/kata-containers/kata-containers/blob/main/src/runtime/virtcontainers/pkg/cloud-hypervisor/README.md Fixes: #2333 Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
parent
838e169b9c
commit
cc0bb9aebc
@ -353,6 +353,7 @@ components:
|
|||||||
iommu: false
|
iommu: false
|
||||||
balloon:
|
balloon:
|
||||||
size: 9
|
size: 9
|
||||||
|
deflate_on_oom: false
|
||||||
memory:
|
memory:
|
||||||
hugepages: false
|
hugepages: false
|
||||||
shared: false
|
shared: false
|
||||||
@ -449,6 +450,9 @@ components:
|
|||||||
cpus:
|
cpus:
|
||||||
- 5
|
- 5
|
||||||
- 5
|
- 5
|
||||||
|
sgx_epc_sections:
|
||||||
|
- sgx_epc_sections
|
||||||
|
- sgx_epc_sections
|
||||||
memory_zones:
|
memory_zones:
|
||||||
- memory_zones
|
- memory_zones
|
||||||
- memory_zones
|
- memory_zones
|
||||||
@ -461,6 +465,9 @@ components:
|
|||||||
cpus:
|
cpus:
|
||||||
- 5
|
- 5
|
||||||
- 5
|
- 5
|
||||||
|
sgx_epc_sections:
|
||||||
|
- sgx_epc_sections
|
||||||
|
- sgx_epc_sections
|
||||||
memory_zones:
|
memory_zones:
|
||||||
- memory_zones
|
- memory_zones
|
||||||
- memory_zones
|
- memory_zones
|
||||||
@ -471,8 +478,10 @@ components:
|
|||||||
sgx_epc:
|
sgx_epc:
|
||||||
- prefault: false
|
- prefault: false
|
||||||
size: 6
|
size: 6
|
||||||
|
id: id
|
||||||
- prefault: false
|
- prefault: false
|
||||||
size: 6
|
size: 6
|
||||||
|
id: id
|
||||||
fs:
|
fs:
|
||||||
- num_queues: 6
|
- num_queues: 6
|
||||||
queue_size: 3
|
queue_size: 3
|
||||||
@ -649,6 +658,7 @@ components:
|
|||||||
iommu: false
|
iommu: false
|
||||||
balloon:
|
balloon:
|
||||||
size: 9
|
size: 9
|
||||||
|
deflate_on_oom: false
|
||||||
memory:
|
memory:
|
||||||
hugepages: false
|
hugepages: false
|
||||||
shared: false
|
shared: false
|
||||||
@ -745,6 +755,9 @@ components:
|
|||||||
cpus:
|
cpus:
|
||||||
- 5
|
- 5
|
||||||
- 5
|
- 5
|
||||||
|
sgx_epc_sections:
|
||||||
|
- sgx_epc_sections
|
||||||
|
- sgx_epc_sections
|
||||||
memory_zones:
|
memory_zones:
|
||||||
- memory_zones
|
- memory_zones
|
||||||
- memory_zones
|
- memory_zones
|
||||||
@ -757,6 +770,9 @@ components:
|
|||||||
cpus:
|
cpus:
|
||||||
- 5
|
- 5
|
||||||
- 5
|
- 5
|
||||||
|
sgx_epc_sections:
|
||||||
|
- sgx_epc_sections
|
||||||
|
- sgx_epc_sections
|
||||||
memory_zones:
|
memory_zones:
|
||||||
- memory_zones
|
- memory_zones
|
||||||
- memory_zones
|
- memory_zones
|
||||||
@ -767,8 +783,10 @@ components:
|
|||||||
sgx_epc:
|
sgx_epc:
|
||||||
- prefault: false
|
- prefault: false
|
||||||
size: 6
|
size: 6
|
||||||
|
id: id
|
||||||
- prefault: false
|
- prefault: false
|
||||||
size: 6
|
size: 6
|
||||||
|
id: id
|
||||||
fs:
|
fs:
|
||||||
- num_queues: 6
|
- num_queues: 6
|
||||||
queue_size: 3
|
queue_size: 3
|
||||||
@ -1283,10 +1301,16 @@ components:
|
|||||||
BalloonConfig:
|
BalloonConfig:
|
||||||
example:
|
example:
|
||||||
size: 9
|
size: 9
|
||||||
|
deflate_on_oom: false
|
||||||
properties:
|
properties:
|
||||||
size:
|
size:
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
|
deflate_on_oom:
|
||||||
|
default: false
|
||||||
|
description: Whether the balloon should deflate when the guest is under
|
||||||
|
memory pressure.
|
||||||
|
type: boolean
|
||||||
required:
|
required:
|
||||||
- size
|
- size
|
||||||
type: object
|
type: object
|
||||||
@ -1420,7 +1444,10 @@ components:
|
|||||||
example:
|
example:
|
||||||
prefault: false
|
prefault: false
|
||||||
size: 6
|
size: 6
|
||||||
|
id: id
|
||||||
properties:
|
properties:
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
size:
|
size:
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
@ -1428,6 +1455,7 @@ components:
|
|||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
required:
|
required:
|
||||||
|
- id
|
||||||
- size
|
- size
|
||||||
type: object
|
type: object
|
||||||
NumaDistance:
|
NumaDistance:
|
||||||
@ -1455,6 +1483,9 @@ components:
|
|||||||
cpus:
|
cpus:
|
||||||
- 5
|
- 5
|
||||||
- 5
|
- 5
|
||||||
|
sgx_epc_sections:
|
||||||
|
- sgx_epc_sections
|
||||||
|
- sgx_epc_sections
|
||||||
memory_zones:
|
memory_zones:
|
||||||
- memory_zones
|
- memory_zones
|
||||||
- memory_zones
|
- memory_zones
|
||||||
@ -1476,6 +1507,10 @@ components:
|
|||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
|
sgx_epc_sections:
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
required:
|
required:
|
||||||
- guest_numa_id
|
- guest_numa_id
|
||||||
type: object
|
type: object
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Size** | **int64** | |
|
**Size** | **int64** | |
|
||||||
|
**DeflateOnOom** | **bool** | Whether the balloon should deflate when the guest is under memory pressure. | [optional] [default to false]
|
||||||
|
|
||||||
[[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)
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|||||||
**Cpus** | **[]int32** | | [optional]
|
**Cpus** | **[]int32** | | [optional]
|
||||||
**Distances** | [**[]NumaDistance**](NumaDistance.md) | | [optional]
|
**Distances** | [**[]NumaDistance**](NumaDistance.md) | | [optional]
|
||||||
**MemoryZones** | **[]string** | | [optional]
|
**MemoryZones** | **[]string** | | [optional]
|
||||||
|
**SgxEpcSections** | **[]string** | | [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)
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Id** | **string** | |
|
||||||
**Size** | **int64** | |
|
**Size** | **int64** | |
|
||||||
**Prefault** | **bool** | | [optional] [default to false]
|
**Prefault** | **bool** | | [optional] [default to false]
|
||||||
|
|
||||||
|
@ -12,4 +12,6 @@ package openapi
|
|||||||
// BalloonConfig struct for BalloonConfig
|
// BalloonConfig struct for BalloonConfig
|
||||||
type BalloonConfig struct {
|
type BalloonConfig struct {
|
||||||
Size int64 `json:"size"`
|
Size int64 `json:"size"`
|
||||||
|
// Whether the balloon should deflate when the guest is under memory pressure.
|
||||||
|
DeflateOnOom bool `json:"deflate_on_oom,omitempty"`
|
||||||
}
|
}
|
||||||
|
@ -15,4 +15,5 @@ type NumaConfig struct {
|
|||||||
Cpus []int32 `json:"cpus,omitempty"`
|
Cpus []int32 `json:"cpus,omitempty"`
|
||||||
Distances []NumaDistance `json:"distances,omitempty"`
|
Distances []NumaDistance `json:"distances,omitempty"`
|
||||||
MemoryZones []string `json:"memory_zones,omitempty"`
|
MemoryZones []string `json:"memory_zones,omitempty"`
|
||||||
|
SgxEpcSections []string `json:"sgx_epc_sections,omitempty"`
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,7 @@ package openapi
|
|||||||
|
|
||||||
// SgxEpcConfig struct for SgxEpcConfig
|
// SgxEpcConfig struct for SgxEpcConfig
|
||||||
type SgxEpcConfig struct {
|
type SgxEpcConfig struct {
|
||||||
|
Id string `json:"id"`
|
||||||
Size int64 `json:"size"`
|
Size int64 `json:"size"`
|
||||||
Prefault bool `json:"prefault,omitempty"`
|
Prefault bool `json:"prefault,omitempty"`
|
||||||
}
|
}
|
||||||
|
@ -745,6 +745,10 @@ components:
|
|||||||
size:
|
size:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
|
deflate_on_oom:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
description: Whether the balloon should deflate when the guest is under memory pressure.
|
||||||
|
|
||||||
FsConfig:
|
FsConfig:
|
||||||
required:
|
required:
|
||||||
@ -847,9 +851,12 @@ components:
|
|||||||
|
|
||||||
SgxEpcConfig:
|
SgxEpcConfig:
|
||||||
required:
|
required:
|
||||||
|
- id
|
||||||
- size
|
- size
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
size:
|
size:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
@ -891,6 +898,10 @@ components:
|
|||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
sgx_epc_sections:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
|
||||||
VmResize:
|
VmResize:
|
||||||
type: object
|
type: object
|
||||||
|
@ -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: "v16.0"
|
version: "v17.0"
|
||||||
|
|
||||||
firecracker:
|
firecracker:
|
||||||
description: "Firecracker micro-VMM"
|
description: "Firecracker micro-VMM"
|
||||||
|
Loading…
Reference in New Issue
Block a user