mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 20:54:26 +00:00
versions: Upgrade to cloud-hypervisor v16.0
Highlights from the Cloud Hypervisor release v16.0: 1) Improved live migration support; 2) Improved `vhost-user` support; 3) ARM64 ACPI and UEFI support; 4) Bug fixes. Details can be found: https://github.com/cloud-hypervisor/cloud-hypervisor/releases/tag/v16.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: #1992 Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
parent
9d84272dd1
commit
85c40001da
@ -519,12 +519,8 @@ components:
|
|||||||
net:
|
net:
|
||||||
- tap: tap
|
- tap: tap
|
||||||
num_queues: 9
|
num_queues: 9
|
||||||
iommu: false
|
|
||||||
queue_size: 6
|
queue_size: 6
|
||||||
vhost_socket: vhost_socket
|
|
||||||
vhost_user: false
|
|
||||||
ip: 192.168.249.1
|
ip: 192.168.249.1
|
||||||
id: id
|
|
||||||
rate_limiter_config:
|
rate_limiter_config:
|
||||||
ops:
|
ops:
|
||||||
size: 0
|
size: 0
|
||||||
@ -535,18 +531,19 @@ components:
|
|||||||
one_time_burst: 0
|
one_time_burst: 0
|
||||||
refill_time: 0
|
refill_time: 0
|
||||||
mac: mac
|
mac: mac
|
||||||
|
vhost_mode: client
|
||||||
|
iommu: false
|
||||||
|
vhost_socket: vhost_socket
|
||||||
|
vhost_user: false
|
||||||
|
id: id
|
||||||
fd:
|
fd:
|
||||||
- 8
|
- 8
|
||||||
- 8
|
- 8
|
||||||
mask: 255.255.255.0
|
mask: 255.255.255.0
|
||||||
- tap: tap
|
- tap: tap
|
||||||
num_queues: 9
|
num_queues: 9
|
||||||
iommu: false
|
|
||||||
queue_size: 6
|
queue_size: 6
|
||||||
vhost_socket: vhost_socket
|
|
||||||
vhost_user: false
|
|
||||||
ip: 192.168.249.1
|
ip: 192.168.249.1
|
||||||
id: id
|
|
||||||
rate_limiter_config:
|
rate_limiter_config:
|
||||||
ops:
|
ops:
|
||||||
size: 0
|
size: 0
|
||||||
@ -557,6 +554,11 @@ components:
|
|||||||
one_time_burst: 0
|
one_time_burst: 0
|
||||||
refill_time: 0
|
refill_time: 0
|
||||||
mac: mac
|
mac: mac
|
||||||
|
vhost_mode: client
|
||||||
|
iommu: false
|
||||||
|
vhost_socket: vhost_socket
|
||||||
|
vhost_user: false
|
||||||
|
id: id
|
||||||
fd:
|
fd:
|
||||||
- 8
|
- 8
|
||||||
- 8
|
- 8
|
||||||
@ -813,12 +815,8 @@ components:
|
|||||||
net:
|
net:
|
||||||
- tap: tap
|
- tap: tap
|
||||||
num_queues: 9
|
num_queues: 9
|
||||||
iommu: false
|
|
||||||
queue_size: 6
|
queue_size: 6
|
||||||
vhost_socket: vhost_socket
|
|
||||||
vhost_user: false
|
|
||||||
ip: 192.168.249.1
|
ip: 192.168.249.1
|
||||||
id: id
|
|
||||||
rate_limiter_config:
|
rate_limiter_config:
|
||||||
ops:
|
ops:
|
||||||
size: 0
|
size: 0
|
||||||
@ -829,18 +827,19 @@ components:
|
|||||||
one_time_burst: 0
|
one_time_burst: 0
|
||||||
refill_time: 0
|
refill_time: 0
|
||||||
mac: mac
|
mac: mac
|
||||||
|
vhost_mode: client
|
||||||
|
iommu: false
|
||||||
|
vhost_socket: vhost_socket
|
||||||
|
vhost_user: false
|
||||||
|
id: id
|
||||||
fd:
|
fd:
|
||||||
- 8
|
- 8
|
||||||
- 8
|
- 8
|
||||||
mask: 255.255.255.0
|
mask: 255.255.255.0
|
||||||
- tap: tap
|
- tap: tap
|
||||||
num_queues: 9
|
num_queues: 9
|
||||||
iommu: false
|
|
||||||
queue_size: 6
|
queue_size: 6
|
||||||
vhost_socket: vhost_socket
|
|
||||||
vhost_user: false
|
|
||||||
ip: 192.168.249.1
|
ip: 192.168.249.1
|
||||||
id: id
|
|
||||||
rate_limiter_config:
|
rate_limiter_config:
|
||||||
ops:
|
ops:
|
||||||
size: 0
|
size: 0
|
||||||
@ -851,6 +850,11 @@ components:
|
|||||||
one_time_burst: 0
|
one_time_burst: 0
|
||||||
refill_time: 0
|
refill_time: 0
|
||||||
mac: mac
|
mac: mac
|
||||||
|
vhost_mode: client
|
||||||
|
iommu: false
|
||||||
|
vhost_socket: vhost_socket
|
||||||
|
vhost_user: false
|
||||||
|
id: id
|
||||||
fd:
|
fd:
|
||||||
- 8
|
- 8
|
||||||
- 8
|
- 8
|
||||||
@ -1202,12 +1206,8 @@ components:
|
|||||||
example:
|
example:
|
||||||
tap: tap
|
tap: tap
|
||||||
num_queues: 9
|
num_queues: 9
|
||||||
iommu: false
|
|
||||||
queue_size: 6
|
queue_size: 6
|
||||||
vhost_socket: vhost_socket
|
|
||||||
vhost_user: false
|
|
||||||
ip: 192.168.249.1
|
ip: 192.168.249.1
|
||||||
id: id
|
|
||||||
rate_limiter_config:
|
rate_limiter_config:
|
||||||
ops:
|
ops:
|
||||||
size: 0
|
size: 0
|
||||||
@ -1218,6 +1218,11 @@ components:
|
|||||||
one_time_burst: 0
|
one_time_burst: 0
|
||||||
refill_time: 0
|
refill_time: 0
|
||||||
mac: mac
|
mac: mac
|
||||||
|
vhost_mode: client
|
||||||
|
iommu: false
|
||||||
|
vhost_socket: vhost_socket
|
||||||
|
vhost_user: false
|
||||||
|
id: id
|
||||||
fd:
|
fd:
|
||||||
- 8
|
- 8
|
||||||
- 8
|
- 8
|
||||||
@ -1248,6 +1253,9 @@ components:
|
|||||||
type: boolean
|
type: boolean
|
||||||
vhost_socket:
|
vhost_socket:
|
||||||
type: string
|
type: string
|
||||||
|
vhost_mode:
|
||||||
|
default: client
|
||||||
|
type: string
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
fd:
|
fd:
|
||||||
|
@ -372,9 +372,6 @@ func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err err
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
_, err = (*f).Write(b)
|
_, err = (*f).Write(b)
|
||||||
if err != nil {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
_, err = (*f).Seek(0, io.SeekStart)
|
_, err = (*f).Seek(0, io.SeekStart)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|||||||
**QueueSize** | **int32** | | [optional] [default to 256]
|
**QueueSize** | **int32** | | [optional] [default to 256]
|
||||||
**VhostUser** | **bool** | | [optional] [default to false]
|
**VhostUser** | **bool** | | [optional] [default to false]
|
||||||
**VhostSocket** | **string** | | [optional]
|
**VhostSocket** | **string** | | [optional]
|
||||||
|
**VhostMode** | **string** | | [optional] [default to client]
|
||||||
**Id** | **string** | | [optional]
|
**Id** | **string** | | [optional]
|
||||||
**Fd** | **[]int32** | | [optional]
|
**Fd** | **[]int32** | | [optional]
|
||||||
**RateLimiterConfig** | [**RateLimiterConfig**](RateLimiterConfig.md) | | [optional]
|
**RateLimiterConfig** | [**RateLimiterConfig**](RateLimiterConfig.md) | | [optional]
|
||||||
|
@ -20,6 +20,7 @@ type NetConfig struct {
|
|||||||
QueueSize int32 `json:"queue_size,omitempty"`
|
QueueSize int32 `json:"queue_size,omitempty"`
|
||||||
VhostUser bool `json:"vhost_user,omitempty"`
|
VhostUser bool `json:"vhost_user,omitempty"`
|
||||||
VhostSocket string `json:"vhost_socket,omitempty"`
|
VhostSocket string `json:"vhost_socket,omitempty"`
|
||||||
|
VhostMode string `json:"vhost_mode,omitempty"`
|
||||||
Id string `json:"id,omitempty"`
|
Id string `json:"id,omitempty"`
|
||||||
Fd []int32 `json:"fd,omitempty"`
|
Fd []int32 `json:"fd,omitempty"`
|
||||||
RateLimiterConfig RateLimiterConfig `json:"rate_limiter_config,omitempty"`
|
RateLimiterConfig RateLimiterConfig `json:"rate_limiter_config,omitempty"`
|
||||||
|
@ -712,6 +712,9 @@ components:
|
|||||||
default: false
|
default: false
|
||||||
vhost_socket:
|
vhost_socket:
|
||||||
type: string
|
type: string
|
||||||
|
vhost_mode:
|
||||||
|
type: string
|
||||||
|
default: "client"
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
fd:
|
fd:
|
||||||
|
@ -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: "v15.0"
|
version: "v16.0"
|
||||||
|
|
||||||
firecracker:
|
firecracker:
|
||||||
description: "Firecracker micro-VMM"
|
description: "Firecracker micro-VMM"
|
||||||
|
Loading…
Reference in New Issue
Block a user